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

learn more… | top users | synonyms

1
vote
0answers
14 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 ...
0
votes
1answer
16 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 ...
1
vote
0answers
20 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
votes
0answers
17 views

How to keep cluster systems in sync [on hold]

I am wanting my devices on my cluster which all have the exact same specs (Raspberry Pis) to completely be in permanent sync. I have been thinking of using a cron along with an rsync but I am not ...
0
votes
0answers
16 views

Moving Files from Mac OS Yosemite to Ubuntu 14.04

I have a Ubuntu 14.04 Machine that I am using as a file server. I would like to automate a backup of the files that are on my Mac's HFS formatted hard drive. I am not sure how to do this without ...
1
vote
2answers
31 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
votes
0answers
25 views

Windows shows junk directory name of samba share

I have two HDD in my Ubuntu 14.04 Linux Server box. I have shared Disk 1 which is of 500gb (/dev/sda1) through samba share. Disk 2 is of 1 TB (/dev/sdb1) and used to backup contents of Disk 1 daily at ...
1
vote
2answers
24 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 ...
1
vote
2answers
45 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 ...
0
votes
1answer
51 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
30 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
0answers
18 views

Rsync files to folder owned by another user in group

I have two users in my www-data group on my server: getent group www-data www-data:x:33:user2 I have a folder called logic where files have rights 664 -rw-rw-r-- and folders 775 drwxrwxr-x I try ...
0
votes
1answer
50 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
25 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
31 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
0answers
29 views

Samba File Server Configuration and Sync for Redundancy

I have two boxes which I installed Samba on. For now, I have a single user that access the server, however, I need to expand as to deploy in a production network. Below is what I want to achieve. ...
0
votes
1answer
36 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
0answers
35 views

Cannot Rsync to ec2 instance

This seems like the problem with the ubuntu user permission on ec2 server , cannot rsync successfully. Steps Taken: Generated public key from origin server (a normal ubuntu droplet with root user ...
0
votes
0answers
21 views

How to Schedule Rsync over SSH (Ubuntu Server, Windows and OS X Clients) [duplicate]

On OS X I want to create a cron job that rsyncs certain folders to my Ubuntu server. I do something like this: MAILTO="my@email.com" */5 * * * * rsync -avz '/local folder/' ...
0
votes
1answer
37 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
33 views

Desktop wallpaper config file

Is there a config file where Ubuntu saves it's desktop wallpaper config? My problem is I use luckybackup to sync my Ubuntu in my usb with the Ubuntu on my VirtualBox. That way, if I have to work, I ...
0
votes
0answers
15 views

grsync stops part way through copying

it seems to always stop at one point or another while syncing, and I don't know how to fix this. I'm using the default settings other than a few exclusions I needed to make to prevent a looping ...
0
votes
0answers
23 views

How can I restore my documents from a Time Machine backup?

I'm currently transitioning from OS X, and aside from finding replacement programs, what I miss the most about OS X is the use of the Time Machine feature. I currently have a drive that I used for ...
2
votes
1answer
28 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
46 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
25 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
35 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
186 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
38 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, ...
0
votes
0answers
131 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
124 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
230 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
43 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
84 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
52 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
41 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
46 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
22 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
29 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
60 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
179 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
301 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
131 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
169 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
55 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
17 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
96 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
90 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 ...