The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 124β€…    Votes:  1β€…    βœ… Solution
Tags: backup   restore   deja-dup  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/998121
Title: Is it necessary to keep records of my backups?
ID: /2018/01/20/Is-it-necessary-to-keep-records-of-my-backups_
Created: January 20, 2018    Edited:  June 12, 2020
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Generational backups

I started doing daily backups about six months ago to my email account at gmail.com. gamil limits email backups to 25 MB per archive. The β€œfree” account is limited to 15 GB and is currently 14% full. Soon I will have to start sifting through the archives with a backup strategy to keep:

The backup strategy follows the Grandfather-father-son theme.

Writing a script to access a gamil.com account to copy an existing daily backup to a Weekly backup, Monthly backup and/or a Yearly backup based on date will be no easy task. It might be easier to email the backup multiple times, depending on date, to create the Weekly, Monthly and Yearly backups in real time instead of copying them in the future.

The script to manage Weekly, Monthly and Yearly backups has to account for the fact a backup may not be available for Friday of week, Last day of Month or Last day of Year in which case the next earlier backup has to be selected.

Finally a script to purge Daily, Weekly and Monthly backups based on expiry dates has to be written.

Until script(s) are written, manual copying and renaming of backup archives is required.


Notes

Large backups of say 60GB of music files will be a separate process to a large enough USB stick or pair of alternating USB sticks.

Programs are not backed up but a list of installed programs (package names) is backed up daily.

It is extremely important that you test your backups from time to time. You can do this by restoring them to an empty partition and then running diff command between the backup restored partition and real partition.

⇧ Where to find power option config file(s) for 17.10 Upgrade from 17.04 to 17.10  β‡©