what's your recommendation re backup scripts (shell or ruby) for linux backups???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what's your recommendation re backup scripts (shell or ruby) for linux backups???
Hi,
I want to put in place a periodic backup routine for my linux box to cover potential disk failure. What command line shell script / ruby scripts exists/would you recommend for this? The features I'm looking for:
* free/open source
* command line based (noting my redhat server has no monitor/keyboard)
* ruby script (ideally as I understand this), or else shell script if there are more mature scripts
* full backup (i.e. so can use for RESTORE if HDD failure occurs)
* keeps some level of multiple backups (e.g. last nights, 1 week ago, 1 month ago)
* backup to another of my computers (Mac/Windows not sure yet) - hopefully this will just imply a pre-requisite re file sharing via samba
* automated (e.g. via cron or otherwise)
So this may be just some simple linux copy commands kicked off by cron, however the value add would be the backup routine management (e.g. last nights, 1 week ago, 1 month ago etc0.
You could investigate Dar for backups. I've used it for several years without any problems. The tutorial in the package guides you step-by-step in writing the shell script to make the backup, how to make incremental backups, how to list a backup to make sure it's good, and how to restore individual files, directories, or entire backups.
You don't happen to know whether I could just install Amanda on my linux box in order to back itself up?
I hope the backups will still reside on another server or media right? Really no point in backing up a system only to leave the backed up files on the same system.
I basically have:
* linux box (need to back this up)
* MacBook with external HDD
I wanted to backup my linux box to my Mac's external HDD. I was guessing running the backup software on the linux box & pointing it to the Mac might be the way to go?
I was reading up on rsynch. Perhaps rsynch scripts running on the linux box using ssh to get the backup across to the mac would be a good way?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.