Linux file backup: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 October 2024

  • curprev 22:2722:27, 6 October 2024413vhcu1lq0463ob talk contribs 2,137 bytes +2,137 Created page with "== How to make daily file backups on Linux == Just configure the source the name and the output dir, schedule this script to run daily on crontab and it's done. Remember that retention policy is defined in days, so if you want more or less than what we have on the script, just change it to fit your priorities. #!/bin/bash SOURCE= NAME= OUTPUT_DIR= WEEKLY_BACKUP_RETENTION=30 #DAYS MONTHLY_BACKUP_RETENTION=365 #DAYS YEARLY_BACKUP_RETENTION=3650 #DAYS mkdir -p..."