Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have instructed DejaDup to keep one-week of backup files. Now it is passed more than a month and my backup storage is fed up with old backups. Is there a way to instruct DejaDup to delete old backups without reaching the storage limit? Can I detele them manually?

share|improve this question

3 Answers 3

Additionally you can prune the backup yourself. What I did is to use:

duplicity remove-all-but-n-full 1 --force scp://mylogin@myserver/path_to_backup

from command line. Just use the information you used to create your backups from the Ubuntu GUI.

share|improve this answer

Deja-dup does not yet supply a way of removing old backups, you should also not delete some of the files, that will leave probably your backups without a start file and renders them invalid. Remove them all and start over is an option but thats not what you want I think.

Deja-dup keeps backups for the specified time or until the backup space is full, it will them manage your backups accordingly, a solution for your problem might just be enable quotas for the backup drive and don't let it take all the space available or change the backup frequency, once a week if you edit many files or are always copying / moving files will leave you with a very large backup image.

share|improve this answer
    
Thnaks for the answer Bruno. I am backing up over ssh into a folder on a remote server. I don't want the backup growing until the server is full! And I don't have access to set up a disk quota. This is very bad. I will change the backup system... –  Fabio Oct 28 '11 at 16:19
1  
You can use the backend from deja-up duplicity to do exactly the same duplicity does but with more options, to understand what is happening in a terminal type deja-dup --backup and check the messages one of those is your actual duplicity backup command and it can be customized. –  Bruno Pereira Oct 28 '11 at 16:51
2  
The customization you are looking for it the "keep x rev from the files" where x will be the number of copies available to restore, you can set that for example 30, so more then 30 rev of a file and duplicity deletes the backup itself. Look also man duplicity for all the options. –  Bruno Pereira Oct 28 '11 at 16:53
1  
Bruno you are right, the switch I am looking for that. Is it available only from terminal, no GUI option for it? –  Fabio Nov 6 '11 at 8:55

You can use the Dconf app from Ubuntu Store to modify setting at path org.gnome.DejaDup, key name delete-after. It's set to the number of days to keep backup files on backup location.

Or from terminal. For example, to set it to 60 days from the command line, run:

gsettings set org.gnome.DejaDup delete-after 60
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.