Can you help on getting the backups more streamlined.
We had 30 GB server where now free space left with 2 GB,
Last full backup was 3.3 GB and total incremental backups size was 2.7 GB from last full backup. When does the full backup occur.
Can we delete the files in duplicity and encrypted folders except encryptionkey.
Is there any way to stop backup for a while and create manual full backup
@sagaryellina@francoischevel if you wish to schedule some maintenance here you have a description about what I have:
IMPORTANT: Don’t forget to schedule automated backup(s) or snapshot(s) at DO or Vultr at least one every 30 of each month (this will guaranty you to have a full backup of your cloud server when needed).
You may use this command through SSH:
find /home/user-data/backup/encrypted/*.gpg -type f -mtime +1 #-exec rm {} +
Note that there are spaces between rm, {}, and ;
Explanation:
The first argument is the path to the files (This can be a path, a directory, or a wildcard as in the example above). I would recommend using the full path, and make sure that you run the command without the exec rm to make sure you are getting the right results. When sure remove the # from #-exec .
The second argument, -mtime, is used to specify the number of days old that the file is. If you enter +1, it will find files older than 1 day. Don’t forget to modify +1 with the one that meet your particular needs.
The third argument, -exec, allows you to pass in a command such as rm. The {} ; at the end is required to end the command.
When sure you get what you need you may wish to create your cronjob as follows to be executed the day 1 of each month, as follows:
@JoshData Please, could you explain why do you think that’s a peril?
I have scheduled weekly backups and/or snapshots of my cloud server (the last 1 day before) and just scheduling a monthly maintenance (once a month) to get back the huge disk space took by the incremental backups (just deleting encrypted backup files only)
I would love to learn from you why you consider this as a peril
I had deleted files in encrypted folder, but in next backup it created again all the files and screwed up my space completed, lastly application went down