Read more about backup programs in Linux. So, do not wait any more, go and configure your automatic backup in Linux. CONCLUSIONĪutomatic backup in Linux takes only three lines of simple code in your crontab file, but it can be a lifesaver one day. You can purchase a hard drive using my Amazon page, where I share the hard drives I use. If my computer gets stolen, I will still have a backup of all data on my external hard drive. Build a simple Python script on the Raspberry Pi and use Gnome Schedule to get the script to run when the Pi reboots.Part of the tutorial which lives here: h. That'll be the one to give to the scheduler, along with the information it needs to automatically back up. I personally have a WD 4 TB hard drive installed on my system that is used for automatic backup, and I also copy monthly backups manually to an external WD 20 TB RAID hard drive. If you right click on Applications, choose Edit Menus, then work your way down to grsync, and choose properties, you'll see the command used to start the program. I recommend using a separate hard drive either installed in your computer or connected externally through the USB. 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: Gat is a front-end for 'cron' and 'at' but should be simple enough that users can use it without prior knowledge of 'cron' or 'at.' Requirements GTK+ v1.2 or newer (2. You can see the schedule format from the comments in the crontab file. The GNOME Task Scheduler (Gat) allows you to schedule and manage one-time and recurring tasks using a simple GNOME interface. Here, I will only explain the schedule format. Related: Restore and Backup PPAs, Applications, and Packages in Linux With Aptik 3.I am not going to explain the rsync command. Lastly, install the urbackup-server package as follows: sudo apt install urbackup-server After the installation have been completed, run GNOME Schedule as root by using the commands below: enockenock-pc: sudo gnome-schedule. You can use Task Scheduler, if you are running Windows, and iCal if you are on Mac. Open your terminal and c opy and paste the command below: enockenock-pc: sudo apt-get install gnome-schedule. 1 It looks like GNOME schedule isnt being actively developed, although you can still get the source code and try building it yourself. sudo add-apt-repository ppa:uroni/urbackup Gnome Scheduler might be the easiest way to schedule these backups for Linux. Then, add the official UrBackup repository to your system. Using Grsync, you can easily backup, transfer, synchronize files and folders within the local system or between a local and remote systems. Speedy restorations and multi-platform support make it an apt app for enterprises.īefore installing UrBackup, update your system's repository list. Grsync is a simple GTK graphical front-end application for Rsync command line utility. The software sends email notifications to the administrator if the backup is pending for a specific amount of time. This app sends backup reports to the administrators and ensures an efficient and seamless data backup process. It offers backup support through CD and USB drives. UrBackup’s web interface shows all essential information such as client status, recent activities, and valuable stats. This app is a perfect choice for server backups as it uses a mixture of image and file backups to ensure data security and swift restorations. UrBackup is another open-source server backup tool that supports Windows, macOS, and Linux.
0 Comments
Leave a Reply. |