a utility used to sychronise files between locations (possibly over a network)

learn more… | top users | synonyms

0
votes
0answers
28 views

Use a backup to clone to a new machine

I'd like to clone my machine, to another one, from my backups (rsync & dump). Is it possible ? How should I do (extract HDD from the target machine and plug into my source machine ; or else) ? ...
1
vote
0answers
97 views

Ubuntu Software RAID server and VMware conversion tool

I have tried to find an answer to this, through several unsuccessful forum searches. I have a Hosted Virtual Private Ubuntu Server that I have no physical access to. I downloaded VMware's vCenter ...
0
votes
2answers
151 views

How to make rsync show system time after each file transfer?

Verbose option allows me to see each file that is transferred, I use options like --stats and --info=progress2 to show me some more information on transfer process. I want to figure out how to show ...
1
vote
1answer
597 views

Can cp completely overwrite a directory?

I'm wondering if there is a way to completely overwrite a directory that is being copied to without first needing to erase it with the rm command, meaning I don’t want to have files remaining in the ...
8
votes
2answers
1k views

Rsync, how much risky to use it live?

I rsync my disk live, I mean I'm making a rsync backup of the machine I'm using. Is it ok, safe, wise ? or very not ? Is it risky, if I want to use this backup for restoring or cloning then ?
0
votes
2answers
586 views

How to authenticate myself as root over rsync+ssh into a remote server?

I am trying to use the rsync command but I am getting "permission denied" because the pi user hasn't permission to write without the sudo command I am trying to move my apache2 folder from 10.0.2.2 ...
0
votes
1answer
52 views

To RAID or not?

I have the following setup: HP Microserver N40L 1 x 250GB HDisk 1 x 1TB HDisk 2 x 2TB Hdisks Ubuntu for OS Currently I use the server to backup the following hardware: 1 x MacBook Pro running ...
1
vote
2answers
322 views

How to Snapshot and Recover complete Linux system? [closed]

I have a laptop with Ubuntu installed on it and some other private software and files. I want to make a complete image of the current state of my system and than make backups on daily basis of my work....
0
votes
0answers
56 views

recover files from rsync

This may seem awfully stupid to have happened, but well ... perhaps there is still a way to fix it. There is a text file -- let's call it test.txt -- that I usually backup to my external hard drive ...
2
votes
2answers
181 views

To understand the behaviour of script when running over SSH

Alright, lately I have been facing an odd behavior. I have small bash script which simply takes mysql dump remotely and then store data on the server itself which later get rsynced to backup server. ...
1
vote
1answer
54 views

Turn cron job commands into executable script that can run manually

I was running my crontab that backups some folders, but since then, I have started the practice of shutting down my computer at night, so I find that they do not run...go figure right? :-) So my plan ...
0
votes
1answer
161 views

Permission denied problems after rsync with sudo on the remote

I was trying to move files from one server to another. From the source server, I ran sudo rsync. The process was done, but on the destination server, I'm getting permission denied with lsand cd. I ...
0
votes
0answers
39 views

How can I sync a folder on my Desktop (Ubuntu 12.04) into a folder on a server in my network?

How can I sync a folder on my Desktop (Ubuntu 12.04) into a folder on a server in my network which requires a password for authentication and being connected via port 714. How can I include the ...
0
votes
1answer
111 views

Change the bandwidth control on rsync while it's running

I'd like to alter the bandwidth usage on rsync while it's running large transfers on a shared Internet connection to play nicely with others. I thought something along the lines - "kill USR1 pid" ...
2
votes
2answers
287 views

How to cancel next job in order after rsync

If two jobs are entered into bash command line separated by semicolon: $ job 1; job 2; How do I cancel the second one? If I press CTRL+c, the first one will be canceled and 'job 2' would start, I ...
0
votes
0answers
222 views

Rsync over NFS hanging

When using rsync to back up a local system to an NFS server, the rsync processes all seem to get stuck after a few minutes. They are getting stuck on regular old files... most recently, syncing ...
1
vote
1answer
290 views

Back In Time lost my backup profiles (ie configuration) — in GUI only

This seems a bit odd to me. In very short, as noted in the question BackInTime seems to have lost my backup profiles -- or perhaps more accurately, is not able to pull information about the profiles ...
1
vote
0answers
77 views

keep same inodes metadata with rsync or ignore metadata with du

I'm trying to synchronize two folders from a remote computer. I want to use rsync to send the folder, and du to check if the space used is identical on the remote computer. The problem is even with a ...
0
votes
1answer
162 views

Help Creating Rsync/Crontab script that checks if ExtHD is mounted before running

I have a toshiba 3tb ExtHD and it consistently gets unmounted if I say shutdown computer then turn it on to a live cd then reboot back into OS. Its a simple fix, all I do is unplug and re-plug the USB ...
0
votes
1answer
24 views

How to property setup rsync?

I want to sync all files and folders in my home directory expect for the ones that start with . This is what I have done so far: rsync -azPnv --delete /home/USER/ DESTINATION In order to ignore ...
0
votes
1answer
179 views

Cron rsync problem

I have a problem with my crontab setup for rsync. Forst here's my crontable: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * ...
1
vote
1answer
177 views

One rsync cronjob runs, but doesn't copy files

So my intention is to backup some key directory with my documents and my MySQL data file etc. I have a cronjob set and it seems to work for all commands in there. Files are copied daily into a backup ...
0
votes
1answer
35 views

Properly backup OS/Boot partition

I have two drives in a media server that two different sizes, so I can't run raid on it. However I would like to backup my OS partition so that if Drive 1 fails I can just swap them, update grub/boot ...
1
vote
1answer
1k views

How can I exclude all subdirectories but include files of a directory in rsync?

I want to backup my Ubuntu system and I have two partitions to care: One is /, another is /home. I'll likely want to backup /. This is not even that big so I can carry it on my SD card, while being ...
1
vote
1answer
2k views

15.04: rsync connection refused

I upgraded to Ubuntu 15.04 this weekend. Now, rsync won't play nice anymore: When I try to run this: beheer@boson:~ $ rsync -Wvvqaz --log-file=rs.txt --delete-excluded --delete --no-g --password-...
4
votes
3answers
13k views

rsync over ssh “error in protocol data stream” (code 12). ssh works

I tried: rsync -v -v -e 'ssh -p YY' ./testfile me@XXXXX:/home Error Message opening connection using: ssh -p YY -l me 146.6.84.206 rsync ->-server -vvve.s . /home [sender] make_file(testfile,*,...
0
votes
1answer
198 views

rsync back up of entire root system not working using --exclude?

I am trying to do a system back up of my entire OS I am using these command and both are not excluding the files I want sudo rsync -avz --exclude="/tmp" --exclude="/sys" --exclude="/lost+found" --...
3
votes
1answer
302 views

File sharing between Mac OS and Ubuntu

I am pretty new to Ubuntu so please if you can answer to this question explicitly. I have two laptops one is running on MAC OS X 10.8.5 (OS X Mountain Lion) and the other one running Ubuntu 14.04 LTS. ...
2
votes
1answer
123 views

Difference in copying files recursively from a drive using rsync

I've used the command below to copy files from Windows drive to an external HDD, using the command: rsync -azv --progress --exclude "/Windows" --exclude "/Program Files" --exclude "Program Files (...
2
votes
1answer
246 views

Use rsync to backup .ecryptfs, but also use exclude some folders inside

I want to backup the /home/.ecryptfs folder on my machine using rsync. I don't want to back up the unencrypted files. However, I want to exclude certain folders. For example, music, downloads, or ...
2
votes
1answer
136 views

btrfs: Resultant copy is twice the size of source

I just got an SSD and wanted to migrate my current Ubuntu installation to take advantage of its performance. So I booted to an Ubuntu live CD, mounted source (ext4) and target (SSD, btrfs mounted ...
1
vote
2answers
102 views

rsync ignores /home directory

I'm trying to backup my whole HDD by using the following script: rsync -vaxE --progress --delete --log-file='./rsync-log' / /media/me/Backup/ It works as expected except for one thing - it copies /...
1
vote
2answers
3k views

Rsync --delete option doesn't delete files in target directory

I'm trying to use the --delete option in rsync to delete files in the target directory which isn't present in the original directory Here is the command I'm using: rsync -avz --ignore-existing --...
3
votes
2answers
1k views

How can I view a progress bar when running rsync?

Good afternoon, I am using Ubuntu 12.04 as a repo and would like to view a progress bar when using rsync from the command line. I tried the option from http://www.cyberciti.biz/faq/show-progress-...
0
votes
1answer
221 views

Migrating linux systems to VMware using rsync

Hello there :) As stated in the title, I am trying to migrate linux systems that I have to a virtual environment. I tried Vmware's tools such as converter standalone but that proved troublesome since ...
0
votes
1answer
364 views

Keychain does not work in Cron

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
1answer
140 views

rsync script not working

I have a external USB drive that I use for backups. I wrote a bash script for rsync and it's worked flawlessly before. Tonight, I set the USB to mount in fstab and now when I try to run the rsync ...
0
votes
2answers
120 views

rsync delete files from target if not existing in source

Okay so I have looked up the existing answers here and elsewhere but what I can't find out is, if I use the --ignore-existing option along with the --delete option, will this combination I still be ...
0
votes
2answers
196 views

is it possible to rsync to another server using crontab?

Hi there is a bunch of videos and resources on how to rsync locally rsync /home/user1 /home/user2/backup, but i haven't found any tutorials on rsync crontab to another server pretty much, i use ...
0
votes
1answer
53 views

Can't seem to get rsync right for backups

I'm trying to get rsync working as a simple backup tool (well, to be honest, more of a synchronization tool). I'm running Ubuntu 14.04 on a SSD on my home NAS, with two 3TB SATA drives for storage. I ...
0
votes
1answer
349 views

Can't SSH between two servers

I recently purchased a new VPS to replace my old VPS and was in the process of using rsync to copy files over. Part way through rsync hung up and now it won't make a connection again it just times ...
8
votes
3answers
1k views

Rsync over SSH path with spaces does not work with quotes

I am able to successfully RSYNC over SSH as long as the paths do not have spaces in them. When the path does have spaces, it does not work. I have tried slashes, quotes, and double quotes. When I ...
2
votes
1answer
462 views

rsync how to send folder contents but not folder itself

Currently I have the following command which will send a folder and it's contents recursively: rsync -avz --ignore-existing --recursive /var/-iles/_site root@mytestingdomain.com:/var/www What I ...
0
votes
1answer
442 views

Moving large size directory using rsync

I plan to move from linux o/s a directory which is mounted on SAN(offboard) to external storage for backup. The dir size is 14TB. I do have experience moving files in/out using rsync but never done ...
1
vote
1answer
54 views

Which files contain information about the physical partition?

I maintain a weekly updated backup of my whole hard disk with Kubuntu 14.04, thanks to Rsync. I rarely need to restore the back up, but today I did something nasty to my OS, too complex to try to fix ...
4
votes
1answer
477 views

Is it a good idea to restore a btrfs snapshot with rsync?

Is it safe to use rsync to restore a btrfs snapshot? Just to give a example rsync -ax /home/snapshot/my_user_folder /home/my_user_folder where /home is my home folder and /home/snapshot is my ...
0
votes
2answers
744 views

Auto backup on login (Ubuntu 14.04)

I have installed grsync so I can backup files from my laptop to my folder on a local server. When I run it manually, the files copy across, no problem. I want this to happen automatically when I log ...
0
votes
1answer
142 views

Simple backup with 2 servers in Ubuntu Server 14.10

I want to know how to make a simple backup from one server to another. I have 2 servers (one for websites, the other is empty) and I would make up the folder html (/var/www/html/ of apache) via SSH ...
3
votes
1answer
544 views

How can I use SSH aliases with rsync?

I can successfully use command ssh myVDShost without password to connect my VDS host. But when I use command sudo rsync -azP myVDShost:/home/ /mnt/myextdisk I get error: ssh: Could not resolve ...
0
votes
1answer
29 views

On what folders never to use rsync on?

Excluding all subvolumes of the / folder with rsync -x what other folders should one never rsync? For example /dev sounds to be a bad idea for rsync.