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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
Posted 10-29-2011 at 08: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
|
|
Views 1869
Comments 0
|
|
Posted 06-23-2011 at 06:06 PM by sag47
Updated 06-23-2011 at 06: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
|
|
Views 2291
Comments 0
|
|
Posted 12-25-2010 at 01: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
|
|
Views 1897
Comments 0
|
|
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
|
|
Views 4854
Comments 0
|
|
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
|
|
Views 3567
Comments 0
|
All times are GMT -5. The time now is 11:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|