Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

How to rsync files between two remotes?

Improving on Chris Davies: add usernames add no strict host key checking, in case host1 doesn't know 'localhost' yet. create tunnel to host2 separately for special cases add batchMode, to not let ...
Martin's user avatar
  • 1
0 votes

Are hardlinks with rsync a bad solution?

Were you assuming that --link-dest would be used to link the live source to your backup? That would indeed be a very bad idea. Typically your backup would be a copy of your live data, but within ...
Chris Davies's user avatar
-1 votes

Are hardlinks with rsync a bad solution?

Or am I missing something? yes you are missing that rsync can be used to make a backup of one drive onto another distinct backup drive. which are not hardlinked. Then subsequent backups to the ...
fessyfoo's user avatar
0 votes

Make rsync move (not copy) files on local file system

ideally rsync would have a move-files option... until then, we need workarounds this is a part of my answer to How to convert a normal Git repository to a bare one? the example code reads the source ...
milahu's user avatar
  • 217
1 vote

Rsync --progress parameter syntax error

When typing the file path, enclose it in double quotes. rsync -avzP "/home/test/testdir" "/home/test/testdir2/"
manowar_manowar's user avatar
2 votes
Accepted

Retrieve large number of files from remote server with wildcards

Instead of letting the remote shell expand a glob that results in a too long list of arguments, use --include and --exclude filters to transfer only the files that you want: rsync -aim --include='*/' -...
Kusalananda's user avatar
  • 337k
0 votes

Securing Rsync Daemon Over SSH with NON-root user

My recommendation is to secure that either with an insanely long password or disable password authentication alltogether. Instead use a secure elliptic ssh-key and allow login only from your specifiy ...
Matte Bili's user avatar

Top 50 recent answers are included