You should never store your backup on the same hard drive which you backup from. ![]() NOTE that your computer must be on during the scheduled time to execute the rsync commands. ![]() Second, looking for specific files in a compressed backup is slow. You can also compress monthly and weekly backups, but in my experience, compression is not practical. I think this is the most reasonable way to automatically backup Linux. If you have a limited amount of space, you can set monthly backups to be overwritten too. For example, my backup created on April 1, 2019, has the following name monthly_20190401. To configure the time of your automatic backup in Linux, change these time points as you need.įrom the above command, you can also see that daily and weekly backups will be overwritten, while all monthly backups will be kept with the date in their names. Hence, my schedule command means that rsync will run at 12:00 daily, at 15:00 on Friday weekly, and at 16:00 on the first day of every month. The columns abbreviation means the following: ![]() You can see the schedule format from the comments in the crontab file. ![]() Here, I will only explain the schedule format. I am not going to explain the rsync command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |