Em vez de:
--archive-dir /media/scratch/duplicity
Tente:
--archive-dir=/media/scratch/duplicity
Observe o sinal "=". Isso funcionou para mim.
Meu comando de duplicidade parece
sudo duplicity --tempdir /media/scratch/tmp --no-encryption --archive-dir /media/scratch/duplicity --exclude /media/nas/backup --exclude /proc --exclude /sys --exclude /media/scratch/duplicity --exclude /media/scratch/tmp / file:///media/nas/backup
Mas, embora eu tenha especificado um diretório no meu segundo SSD com --archive-dir, a duplicidade continua preenchendo meu SSD principal em ~ / .cache / duplicity. De acordo com o manpage:
--archive-dir path The archive directory. NOTE: This option changed in 0.6.0. The archive directory is now necessary in order to manage persistence for current and future enhancements. As such, this option is now used only to change the location of the archive directory. The archive directory should not be deleted, or duplicity will have to recreate it from the remote repository (which may require decrypting the backup contents).
When backing up or restoring, this option specifies that the local archive directory is to be created in path. If the archive directory is not specified, the default will be to create the archive directory in ~/.cache/duplicity/.
O que estou perdendo aqui?