[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] .Cache & duplicity collection-status
From: |
Сергей Цаболов |
Subject: |
Re: [Duplicity-talk] .Cache & duplicity collection-status |
Date: |
Mon, 12 Jul 2021 18:29:03 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Thank you,
Now I change the command and run it by hand and is worked very quickly.
I move the duplicity form root/.cache/ to backup location.
Symlnik from duplicity -> /srv/duplicity/.cache/duplicity
For now not planning encrypted, but possibility encrypted is very good.
Is remote now all /srv is NFS share, is mount to server/VM when I test now.
12.07.2021 16:29, edgar.soldin--- via Duplicity-talk пишет:
On 12.07.2021 14:53, Сергей Цаболов via Duplicity-talk wrote:
I mean: cron job for duplicity incremental run every day
10 21 * * * duplicity incremental --no-encryption
*--exclude=/root/.cache/duplicity* --exclude=/run --exclude=/dev
--exclude=/proc --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/tmp
--exclude=/var/spool --exclude=/var/cache --exclude=/var/tmp
--exclude=/swap.img / file:///srv/duplicity/
Available space in disk take once in 2021/07/10, next day not enough space for
cached files because disk is full 100%.
And second cron job once in the week can't finished :
30 4 * * sun duplicity full --no-encryption --exclude=/run --exclude=/srv
--exclude=/dev --exclude=/proc --exclude=/sys --exclude=/mnt --exclude=/media
--exclude=/tmp --exclude=/var/spool --exclude=/var/cache --exclude=/var/tmp
--exclude=/swap.img / file:///srv/duplicity/
i notice you are not excluding mount point '/srv' where your backup is ending
up! duplicity is not sticking to file system boundaries but backs up everything
below the mount point you are giving it. this is backing up the backup location
as well.
also the second run lacks the */root/.cache/duplicity* exclusion.
list your backups content 'duplicity list-current-files [options] [--time time]
target_url' to make sure that you do include *archive dir* or *backup target*!
also. if you are not planning to backup *encrypted* and to *remote*, you might
consider using another application as these are the main reasons to use
duplicity!
..ede/duply.net
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
--
-------------------------
С уважением
Сергей Цаболов,
Системный администратор
ООО "Т8"
Тел.: +74992716161,
Моб: +79850334875
tsabolov@t8.ru
ООО «Т8», 107076, г. Москва, Краснобогатырская ул., д. 44, стр.1
www.t8.ru