LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Securely backup your $HOME to a remote machine

Posted 10-29-2011 at 07:19 PM by rouvas

SYNOPSIS

A simple and effective script to perform a secure backup of your home directory to a remote machine, with the help of sshfs and rsync. With trivial modifications it can be used to backup any directory.


FOR THE IMPATIENT

Drop this script into your path:

Code:
#!/bin/bash

#
# Specify the name of the user on the remote machine, defaults to the current user
#
REMOTE_USER=${REMOTE_USER:=$USER}
...
Member
Posted in Uncategorized
Views 900 Comments 0 rouvas is offline
Old

rsync commands and how I backup

Posted 06-23-2011 at 05:06 PM by sag47
Updated 06-23-2011 at 05:07 PM by sag47

I run the following command when I want to just update one directory to another. It only copies files that have changed. If any files have been deleted from A they still exists in directory B. The trailing slash after A/ is necessary to tell rsync to move the contents. Otherwise A will create a folder in B called /media/B/A and move the files over.

Code:
rsync -ruptv /media/A/ /media/B
I run the following command when I want to mirror one directory to another. Any files...
Senior Member
Posted in Uncategorized
Views 676 Comments 0 sag47 is offline
Old

rsync server boot/control script

Posted 12-25-2010 at 12:14 AM by catkin

Hello

I couldn't find one to suit anywhere so wrote this.

It is not really needed during shutdown because all it does is send SIGTERM to all the rsync server processes and the Linux shutdown process does that anyway. rsync server processes are well behaved and do terminate quickly in response to SIGTERM so there's no need to check that the processes have terminated and escalate to SIGKILL (which the Linux shutdown process does anyway).

It is hardly...
LQ 5k Club
Posted in Uncategorized
Views 1083 Comments 0 catkin is offline
Old

[script] Easy Backup Solution using rsync

Posted 01-03-2010 at 10:03 AM by ~sHyLoCk~
Updated 01-05-2010 at 10:14 PM by ~sHyLoCk~

Originally Posted in my Blog.

I will be writing this guide as a part of my upcoming "Arch System Maintenance Guide". When you are using Linux, you should always take regular backups. It is secure, it is stable and all that, but backup is very important to aid you in case you make a mess of your system. I will be writing the script to backup the entire system, excluding a few folders/files,etc. So here...
Senior Member
Posted in Scripts
Views 3089 Comments 0 ~sHyLoCk~ is offline
Old

Krsync - A Kommander based GUI frontend for rsync

Posted 01-11-2009 at 02:28 PM by rbkumaran

Krsync is a simple GUI frontend for the famous rsync to synchronize files and directories between systems or even two different directories on the same server. Krsync is a Kommander based GUI for rsync.Read more
LQ Newbie
Posted in Uncategorized
Views 2580 Comments 0 rbkumaran is offline

  



All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration