![]() ![]() These are all examples of how GNU/Linux is really excellent stuff, and just works every time without a lot of hassle like we have in Windows. In fact, an rsync command could be written to do the opposite where it connects to the host/server and restores the data back to the client. When logging in, all profile data is read like normal and everything works just like it did before. I have put it to the test by formatting a hard drive and installing Fedora from scratch again, and restoring the data backed up with rsync. I currently run my own backups like this with multiple workstations that save the files to a server, then on the server the files are backed up to tape. Another solution I use is to have rsync back up remote systems to another site over the Internet, using ssh tunnelling to provide a secure connection. This way the USB drive can be removed and stored in a safe place. This is done with the "path =" line in /etc/nf. over the cell phone, from bed, from the back yard if its nice. ![]() I use one scenario like this and on the host/server system, I set rsync on the host/server to back up to the path "/media/backupdrive" (which is a mounted ext4 USB drive named "backupdrive"). One of the rsync or sftp remote adapters is much nicer to such environments. This solution can be added or enhanced for added functionality. Read the man page by using "man rsync" if you want to read what all of the options do. This skips over Firefox's cache, any object files, any files if there's a folder called "temp", and the. The final step is to create the file referenced in the run command above, /home/localuser/.rsync-exclude, and put in entries for items that you do NOT want to back up. Not to mention, the ability to run a sync in Windows silently seemed to be a challenge also, where rsync on Linux can be run silently in the background while the user continues to work, and there are never any file locking issues which is extremely important for getting a complete backup. Mainly, issues like "files in use" and other problems crept up in Windows, which caused incomplete backups and errors, and never gave us 100% reliable backups. I've used various similar programs in Windows to rsync, and have NEVER found anything as effective as rsync on Linux. What makes rsync most appealing to me is it can identify changes in files, and will only transfer data that has changed since the last sync, making it extremely efficient. In fact, it's one of the leading utilities used to replicate large public software mirrors among sites. It's a command-line based utility, but can handle gigs of data across slow links, making it very effective. So, my main focus is to get good backups of the user's profile folders that are stored in /home, and this will ensure that if the hard drive goes up in flames, that all data can be restored allowing the user to be back up and running with little effort.įor doing these backups, I use a lightweight but extremely powerful utility called "rsync". What's even better about this, is all applications that the user runs also store settings in this profile folder. ![]() With Linux, the entire user's profile folders are stored in /home. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |