Questions tagged [rsync]
a utility used to synchronise files between locations (possibly over a network)
773
questions
0
votes
1
answer
271
views
Restoring backup
I used rsync to back up my data from Vbox. I replaced the fstab of the backup with the fstab of a fresh install. I then used that data to restore everything on the same fresh install. Now I'm unable ...
1
vote
1
answer
1k
views
Using rsync to mirror folders on NAS
I have an old netbook that I use as a torrent server running utorrent on ubuntu and accessing with the webUI, at the moment I add links through the UI and then manually copy the files over to my NAS.
...
4
votes
2
answers
3k
views
Use rsync to change only the date modified of folders/files
I just transferred 1.8TB of data from an external hard drive to an internal hard drive using rsync, but I didn't add the "-t" flag, so the "Date Modified" for every file on the internal hard drive is ...
2
votes
1
answer
254
views
Rsync-ing highly compressible files - am I missing something here?
Today I was using rsync over a slow internet connection to transfer a video file - uncompressed avi, 60 seconds duration, 360MB in size. Basically it contained 1500 frames of the same image, hence it ...
-1
votes
2
answers
3k
views
setup rsync to delete files from my remote server once they have been successfully transfered to my local machine
I need help setting up rsync to transfer files from my remote server to my local machine and then delete the files form the remote server once they have been moved successfully to the local machine.
...
66
votes
2
answers
118k
views
How to exclude a folder from rsync
I am trying to backup my home folder on my NAS drive. I am giving this:
rsync -Paz --exclude-from 'rsync-exclude.txt' /home/chris/ [email protected]:LinuxHome
where rsync-exclude.txt has this ...
0
votes
1
answer
129
views
rsync time for update with deletes
I've been messing with rsync to push my music library (managed by banshee) to my sdcard, which I use for my phone.
This helps me get around the fact that I don't have a good GUI program to sync music ...
80
votes
11
answers
81k
views
How to rsync to android
How can I connect to my android device to rsync music (or other stuff)?
2
votes
0
answers
733
views
sudo -Hu rsyncuser rsync --progress -avz /source/path/ host.org:/destination/path/ - why does it change directory permissions?
here is my setup:
on my source machine i created user rsyncuser with reading and writing permissions in /source/path
on my destination machine i created user rsyncuser with reading and writing ...
27
votes
4
answers
43k
views
How do I trigger rsync on file modification?
I can sync folders with rsync -avz /directory /target, now I wish to do it if I changed a file in /directory so rsync should be called automatically.
I am using Virtual Box and the shared folder of ...
3
votes
4
answers
17k
views
How to use rsync via ssh with rsa key passphrases?
How can I use rsync with passphrases?
All googled "solutions" i found use passphrase-less keys which seems no real option.
i am runnning 2 ubuntu servers 12.04.2 LTS.
4
votes
2
answers
4k
views
Rsync creating \#015 directory
I have a virtual ubuntu server running on my windows server. This server has 2 external hdd's attached, which are mounted in ubuntu.
Now I try to run rsync to sync a directory on my desktop and my ...
4
votes
1
answer
1k
views
How can I run a script when I unmount a particular usb drive?
I am trying to sync between a folder and usb drive, so that
a) when I plug in a particular usb drive, a script runs to copy any newer files from the usb to the folder; and
b) when I unmount the ...
1
vote
1
answer
284
views
Priveleges problem using rsync
I am trying to move a web directory from serverA to serverB I have sudo priveleges on both, but I do not know root's password.
Using the command
rsync -a serverA:/var/www serverB:/var/
I get an ...
11
votes
3
answers
10k
views
Simple rsync incremental backup that timestamps deleted files
I use rsync as follows:
rsync -a --backup --suffix="."$(date +"%Y%m%d%H%M") source backups
to dump the whole of folder source into the folder backups, with the additional feature that if I modify ...
5
votes
1
answer
10k
views
How to restore filesystem-backup made by rsync?
Running version 12.04, with Virtualmin/Webmin.
I tried to remove all unnecessary linux-image files today, since the /boot partition was full. I followed a guide from Ask Ubuntu, but that resulted in ...
4
votes
3
answers
10k
views
Can Rsync be used to copy files in a ntfs partition to another ntfs partition?
I bought a new hard disk and wanted to copy all files in a ntfs partition to another ntfs partition. These files are pdf files and bak files used both by win7 and ubuntu.
Can Rsync be used to sync ...
0
votes
1
answer
2k
views
How to use 'rsync' to copy ubuntu system to another disk?
I use LiveCD and rsync -av to copy ubuntu system to another disk(same machine).
What needs to be revised?
UUID in boot.cfg.
UUID in fstab.
Anything else?
Do I need to revise 'initramfs'?
Thanks
29
votes
6
answers
73k
views
Monitor/Watch running rsync process
I have an rsync job that has been added to a crontab and when it's running, I can only check that there's a rsync PID and confirm with htop that it's eating up n amount of CPU and RAM.
What I'd like ...
0
votes
1
answer
668
views
how to take rcp to take daily backup of database from my ubuntu server to my local system?
I found this article http://www.howtogeek.com/135533/how-to-use-rsync-to-backup-your-data-on-linux/ but it looks outdated and I felt I may get a better answer at AsuUbuntu :)
I have a server running ...
7
votes
3
answers
34k
views
How to mount FTP resources with fstab when connection is available?
I'd like to automount an FTP folder using curlftpfs putting in fstab a row like:
curlftpfs#user:pwd@myhost:port/folder/ /mnt/mymountfolder fuse allow_other,uid=1000,gid=1000,umask=0022,_netdev 0 0
...
256
votes
3
answers
385k
views
How to exclude multiple directories with rsync?
I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
1
vote
1
answer
556
views
Any way to back up a remote host with rsync without opening up for root access on either end?
I'm setting up a VPS that'll host a couple of sites, and I'd like to back up everything to another host which has a nice massive ZFS, allowing me to snapshot frequently.
With the knowledge I have ATM,...
1
vote
1
answer
5k
views
How to remotely backup a MySQL database?
How to backup MySQL database in a remote location using rsync?
I tried mysqldump but it is storing the backup in the local machine only. Also I need the backup files to be stored in tar format in the ...
1
vote
1
answer
26k
views
rsync daemon failed to start
While configuring one of OpenStack's components I had to restart rsync using the command sudo service rsync restart. Doing this, I get the following error message:
* Restarting rsync daemon rsync
* ...
0
votes
1
answer
4k
views
What is wrong with my rsync backup sh script?
The following is a shell script (backup.sh)
rsync -abr --files-from='backup.txt' --delete --stats --progress --exclude={/home/rob} --log-file=/var/log/backup.log /home/ root@remote:/home/
I created ...
0
votes
1
answer
572
views
How to backup Ubuntu in a remote Ubuntu system? [duplicate]
I am having a Ubuntu desktop. I need to backup the contents of my Ubuntu system in another Ubuntu system that is connected over a local area network. How can I schedule automatic backup to that remote ...
5
votes
1
answer
4k
views
rsync creating 0 byte files on cifs mounted drive
Hi I have been using rsync successfully to backup files from my external drive to a cifs mounted shared drive since Ubuntu 10.04
Now with 13.04 I am getting a strage behavior with the following ...
1
vote
0
answers
109
views
Backup regimen - is this plan any good?
I have a desktop that has some valuable personal and financial records, photos, etc. I installed a second drive formatted ext3 called 'internalbackup'. I've been using a variety of backup programs, ...
4
votes
1
answer
2k
views
Rsync behavior in a cron script
I have an nfs device that creates checkpoint (backups) everyday. I want to use Rsync to copy these checkpoints to another device (Drobo connected via iSCSI). So I've run the script on a single nfs ...
13
votes
2
answers
34k
views
How to exclude files in rsync?
I'm using ubuntu server 12.04, now I want to backup some files using rsync, here is a try:
rsync -aAX $HOME/Documents/* $HOME/Backups/TEST --exclude={$HOME/Documents/another/*,$HOME/Documents/temp/*} ...
3
votes
2
answers
4k
views
Best way for repair files names?
I'm trying to backup directory, but some file names are "corrupteds":
rsync: recv_generator: failed to stat "/media/[...]/Ford transit/Porte v\#351lo Ford Transit.odg": Invalid or incomplete ...
4
votes
1
answer
3k
views
Errors with "Back in Time"
I get these errors with "Back in Time". Can someone explain how to avoid them?
[E] Error: rsync: symlink "/media/TREKSTOR/Sicherung/backintime/Refle/root/1/new_snapshot/backup/home/refle/.config/...
1
vote
1
answer
842
views
How to rsync between home computer and computer inside another network?
All the computers I use run Ubuntu. To work from home, I SSH from my home computer to my lab computer as follows:
# First a port knock is needed
joe@homepc> telnet ssh.university.edu 9000
# Next ...
3
votes
1
answer
7k
views
rsync: Connection timed out
I am not able to list drectories through rsync:
from Host2:
user@host2#sudo rsync user@host1::share
rsync: failed to connect to host1: Connection timed out (110)
rsync error: error in socket IO (...
5
votes
1
answer
6k
views
rsyncing files only if they exist in target
I'd like to know how I can sync only existing files and directories in the target directory.
For example, if I have in the source:
a\
b\
b.txt
a.txt
... and in the target:
a\
a.txt
Then I would ...
18
votes
2
answers
8k
views
Customizing Ubuntu to run from RAM only, within GRUB options
I'm interested in exactly this up, now let me explain what would like to do with this. I'm preparing to buy 32GB of RAM and already have Quad Core. My idea is to implement another option in GRUB that ...
0
votes
1
answer
2k
views
connect to windows share automatically and rsync
I have a Western Digital connected to my router at 192.168.1.65 statically.
How can I automatically connect at login and rsync?
At the moment I am using this command that doesn't work.
rsync -Paz /...
1
vote
0
answers
556
views
Backup to remote win machine
I have to backup my data to a remote machine. The local machine run ubuntu 10.04 and the remote machine run winXP.
Googling I found several discussion about this argument but none of them helps me to ...
0
votes
1
answer
641
views
rsync remove old backup on remote PC
Good day
I use this script to backup my home PC to remote PC
#!/bin/bash
#Todays date in ISO-8601 format:
DAY0=`date -I`
#Yesterdays date in ISO-8601 format:
DAY1=`date -I -d "1 day ago"`
#The ...
2
votes
2
answers
7k
views
How to make rsync run automatically when a new file or directory is added?
I decided to use rsync for backing up my downloaded torrents from my home-server to my laptop. I read the whole manual, but I didn't find a way to sync files automatically when a new file or directory ...
1
vote
1
answer
2k
views
I need to sync my Postfix config to a second server and have Postfix reload when changes are made
I'd like to start out saying that I know enough Linux commands to be dangerous :-) With that warning out of the way, here is what I am trying to figure out how to handle.
Currently I have a single ...
1
vote
2
answers
1k
views
Migrating the / volume?
After a hardware failure of the motherboard and subsequently a few disks, I am migrating the root partition over to another drive. However, given /dev and other peculiar locations I was wondering ...
1
vote
1
answer
1k
views
Backup, sync, and mirror application
On Windows I used Zback for:
Backing up some directories to a networked drive.
(i.e, copying all new files from source to target)
Keeping a mirror of some directories on a networked drive.
(i.e, ...
2
votes
1
answer
8k
views
rysnc errors, backup with deltacopy and Ubuntu
I have several windows machines that are using deltacopy and rysyc to back up via ssh to an ubuntu machine. Half of the backups will run, the other half will not. Here's an example of one of the ...
6
votes
0
answers
88
views
Is there a way to download updates differentially rather than via .deb files? [duplicate]
Possible Duplicate:
When will Ubuntu include delta updates?
In the old days, you downloaded or installed packages from a CD, and then a year later you got the new version of your distribution. ...
2
votes
3
answers
8k
views
Where is my Android phone's mount point, so I can rsync it?
I would like to rsync my music with my Android phone (Galaxy Nexus), I'm trying to work out the mount path to use from the shell. The mount command doesn't show up on the phone. In Nautilus the ...
0
votes
1
answer
623
views
Copy entire filesystem in a folder where a raid-1 array is mounted
I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
7
votes
2
answers
5k
views
Copying a Running Physical Server to Virtual Box
I have a server running Ubuntu 10.04. As I want to test some maintenance work, such as upgrading to 12.04, I thought I should create a VM copy of the server using Virtual Box. I don't have a physical ...
1
vote
0
answers
500
views
Auto run command in linux
I am trying to automate backup with rsync to an external hard disk. What I want to do is to execute this command automatically when external hard disk is plugged. I do not want to run it when other ...