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

learn more… | top users | synonyms

0
votes
1answer
20 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
22 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 ...
0
votes
1answer
12 views

Automatically backup system images

I'm very very new to Linux/command line stuff. I'm trying to figure out a way to automatically back up my server. Ideally, I'd like to set up an automated system to create a system image and sync it ...
0
votes
0answers
28 views

Rsync error 23: some files were not transferred, when copying files from Windows drive to external HDD

I wanted to copy files from the Windows drive to external HDD using rsync, with the following command: rsync -azv --progress --exclude-from '/home/mint/exclude.txt' '/media/mint/OS/' ...
0
votes
0answers
32 views

Will these terminal commands allow me to backup my entire system?

I would like to backup my system in such a way that if I ever had to reinstall ubuntu I can very quickly return to my "old" setup. In other words, I would like to be able to recuperate all my files, ...
-1
votes
0answers
42 views

rsync problem with a cifs mounted drive and a ntfs mounted on a linux box (directories size) [closed]

From a linux box, I recently mounted a Windows share using cifs. The intend was to "locally" use rsync to backup my windows machine. The command line used to mount the Windows drive is something ...
0
votes
0answers
82 views

rsync was working fine then started getting connection timed out errors

I've inherited some fairly old Linux installations and I'm very green in regards to Linux. The issue I'm having is server A (Ubuntu 8.04) backing up (basically copying) files to server B (Ubuntu ...
4
votes
1answer
62 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 ...
1
vote
2answers
165 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
0answers
33 views

Compressed backup solutions

The Question Is there a way I can use rsync, and enable compression of my data at the backup target? I'm aware of compression of data during transport, but I've disk space restrictions. I am ...
0
votes
1answer
34 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 ...
0
votes
0answers
24 views

System crash when using rsync to remote server with davfs2

I have been trying for some time to set up a folder on my computer to sync automatically with a online cloud storage system: box.com. There are several online tutorials showing how to set up the sync, ...
0
votes
0answers
35 views

How to use rsync properly?

I have a server with 3 seperate websites on it. I want to switch mail transfer agents from sendmail to postfix. Switching from sendmail to postfix means thatat sendmail will have to be uninstalled. ...
0
votes
1answer
18 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 ...
1
vote
1answer
21 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.
1
vote
1answer
14 views

How to properly rsync / folder?

I want rsync the / folder with a btrfs snapshot. How to avoid a potential crash? Should I exclude some folders such as /proc?
0
votes
0answers
24 views

How to rsync a home folder

I have a btrfs snapshot of my home folder ( let's say my snapshot is in /home/dan/snap1) How can I use rsync to "rollback" to that snapshot and not mess up things?
1
vote
0answers
45 views

Resume cp that was interrupted

I was doing a huge cp command, copying 1TB and I had disconnected computer from network after 700GB. Files are still there but I can't anyhow to resume copying. I tried sudo rsync rsync ...
1
vote
1answer
78 views

rsync throwing mkdir: cannot create directory ‘/data/dir_1/dir_2/dir_3/’: No such file or directory

I mounted a disk at /data. This is empty at the moment. I need rsync to perform mkdir -p than mkdir as the file I needs to be at at level 4 i.e. /data/dir_1/dir_2/dir_3/filename when dir_1, dir_2 ...
0
votes
1answer
143 views

rsync --include-from not working

The man pages do not have examples for this. I am having a hard time telling rsync to only include some file where those files. I don't understand why you have to exclude in order to include, why the ...
0
votes
1answer
87 views

How to access my NAS via the command line using rsync

I have always been accessing my NAS (dlink-343) via the gui in Caja or Nautilus. The connection says smb://dlink-15gtac. How can I access my NAS via the command line if I want to copy files to there, ...
0
votes
0answers
78 views

Cannot get debmirror to download Release and Release.gpg files

We are having trouble getting our local Ubuntu mirror to download properly. Here is the command we run: ...
0
votes
1answer
34 views

Using rsync to backup to two locations

Please forgive my ignorance, I have searched for an answer but have so far come up blank. Here's what I want to do: Use rsync to backup from the fileserver (Ubuntu Server 14.04) to a NAS device. ...
0
votes
0answers
15 views

rsync never terminates and makes Tb size snapshot directories

I have a cron job that runs rsync every day to download data from a server. It was working fine until the space allocated for me in the server was changed (probably increased). It happened as I was a ...
0
votes
1answer
56 views

How do I make grsync exactly mirror my hard drive over multiple backups?

I use grsync to backup my laptop's HDD to an external HDD on about a monthly schedule. The problem is that every time I move a folder to inside another folder on my laptop's HDD, grsync will not ...
0
votes
0answers
67 views

Why is my read speed limited to 40 MB/s (< 25 %) reading from ext4 when compress-force is zlib and there's no CPU usage?

I'm moving data from an ext4 filesystem on a HDD connected with USB 3.0 which usually reads and writes with 170 MB/s to a btrfs subvolume on a SSD which usually reads and writes with 360 MB/s with ...
0
votes
0answers
130 views

Rsync creates error message unexplained error (code 255) at io.c(837)

When I try to rsync -qaPH source/ 192.168.1.21:/var/backups I get rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(837) [sender=3.1.0] Whats wrong ...
1
vote
2answers
44 views

Why is Rsync copying the same subset of (unchanged) files every time?

I am backuping files on my machine with rsync, but notice in my log files that a small subset of the files are re-synced each and every time. Why is this happening? (I can understand that those ...
4
votes
2answers
118 views

Should one call this an inverse differential backup and how does one achieve it?

I make a lot of backups. I do so on different disks, which are stored on different places. I am looking for a type of backup, but I can't find its name (which I need in order to figure out whether ...
0
votes
1answer
16 views

Preserve directory tree while copying with rsync

When I do something like: rsync Videos/YouTube/LetsPlays foo@bar:/home/foo/ The resulting directory structure looks like: /home/foo/LetsPlays I've read the man pages but couldn't an option to ...
0
votes
1answer
205 views

How to create local repository using apt-mirror and mirrorkit for selected architecture, release, spin

Having a local repository can be very useful. It is possible to use rsync to create a repository mirror, but this results in all the releases being downloaded, even older ones and would include files ...
0
votes
2answers
46 views

Lossless Compression using rsync

When using the -z mode to compress data when running rsync, is the compression lossless? sudo rsync -az /path_to/A /path_to/B How can one ensure that any compression would be lossless?
0
votes
1answer
109 views

rsync exclude a single file from the root folder

I want to rsync from a folder, which contanins index.php (which need to be excluded), and many other directories contains index.php too. i created an exclude file and added index.php there. but all ...
0
votes
0answers
114 views

Syncing with a Samba share without mounting it

I have two Ubuntu computers on a home network, let's call them A and B. A runs Samba server and on B I use FreeFileSync to sync files between the two computers wirelessly. The problem is that every ...
0
votes
0answers
58 views

How to put running time constraints on rsync processes?

I want to set a time limit on my rsync backup processes. How do I best go about? According to this post, there is an option to do exactly that: --time-limit When this option is used rsync will stop ...
2
votes
2answers
383 views

backup your home directory with rsync and skip useless folders

You can easyly backup your home folder on an external harddrive with $USER=`whoami` rsync -a --exclude=.cache --progress /home/$USER /media/linuxbackup/home/$USER I excluded the .cache folder cause ...
1
vote
1answer
18 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
0
votes
0answers
7 views

Trying to run Unison

Today I have changed my static IP to a new set of numbers that were provided by my ISP and that has crashed my syncing process. I opened the 'default.prf' file and updated my destination IP address ...
0
votes
2answers
95 views

rsync + ssh public key asking authentication

After creating the keys and use ssh-copy-id command successfully, I can connect by ssh user@host but when I'm trying to do a transfer via rsync and it asks for password... rsync command is as follows: ...
0
votes
2answers
472 views

rsync error while transfering data from one server to another

I have 2 ubuntu 14.04 servers in vm in my machine.I logged in the 2 servers as the user chandhu, then by using sudo -i , I changed as root. I have one file in the user chandhu.I wanna to move that ...
0
votes
1answer
298 views

Update rsync to 3.1.1

I've noticed that the latest version of rsync is actually 3.1.1, but only 3.1.0 seems to be included in 14.04.1. How can I update to the latest version?
1
vote
2answers
122 views

Select Top N files based on modification date and rsync them

I'm fairly new to linux and I'm trying to transfer some N files based on Modification Date. I've found this commandls -tr | head -100, which to my understanding, will list the Top 100 Files (head ...
1
vote
1answer
732 views

Rsync with special character files not working between Mac and Linux

I want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly, since every time I re-run the rsync operation after the initial time, the files with ...
1
vote
1answer
404 views

Rsync between Ubuntu and Mac: how to get the iconv option to work

I usually backup between two Ubuntu machines, but I now want to use rsync to backup my Ubuntu server with a disk residing on a Mac. But I do not get it to work properly. The first time all is well, ...
0
votes
0answers
42 views

rsync stalling on files over wifi

I'm using rsync to transfer files over wifi but I'm finding some files just hang for a long time, and then start to transfer at a reasonable rate. rsync -r -v --progress --remove-source-files src ...
0
votes
0answers
65 views

files copied in usb hard drive using rsync disappear

I use Ubuntu server 12.04 and using rsync I successfuly copied files using rsync from server to the external usb hard drive which is plugged to the server all the time. For some reasons I reinstalled ...
1
vote
0answers
118 views

How can I use rsync over AFP and SMB protocols?

I have a Lacie CloudBox NAS drive. I can acces the folders with no problems via the file explorer, however I would like to use rsync to sync some files. I have used rsync before to sync folders on a ...
0
votes
0answers
79 views

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be ...
2
votes
1answer
47 views

Trying to sync live data to a backup server

I'd like to take the data from the live system to a backup system (to test new features etc) Piecing together an rsync command, I have the following. How do I ensure everything is copied? Things ...
0
votes
1answer
43 views

Fixing permissions of backup files that I don't have -r or -w access to - but still denied access

I've always used rsync to backup all my files to an external drive. Now after having formatted my hard disk and reinstalled Linux, I wanted to copy the backup files to my hard disk. The problem is ...