Both sides previous revisionPrevious revisionNext revision | Previous revision |
backing_up_home_using_rsync [2022/11/30 13:24] – [Requirements] n3t | backing_up_home_using_rsync [2022/11/30 13:27] (current) – [Requirements] n3t |
---|
===== Requirements ===== | ===== Requirements ===== |
| |
What you will need to perform a mirror of your home directory on SDF to another location is a computer with ssh and rsync installed and enough space to store your SDF files. The instructions below are being run on an x86 running Linux, but should be suitable for Mac OS/X and Windows running cygwin. Please read the ''ssh'', ''rsync'' and ''scp'' documentation on those platforms for any differences. | What you will need to perform a mirror of your home directory on SDF to another location is a computer with ''ssh'' and ''rsync''/''scp'' installed and enough space to store your SDF files. The instructions below are being run on an x86 running Linux, but should be suitable for Mac OS/X and Windows running cygwin. Please read the ''ssh'', ''rsync''/''scp'' documentation on those platforms for any differences. |
| |
===== Why rsync? ===== | ===== Why rsync? ===== |
''rsync'' have to be installed on both local and remote host, for example your own computer and SDF. For members below [[membership_levels#metaarpasustaining_membership_level|ARPA]], ''rsync'' will not be available to them, in this case ''scp'' could be used as an alternative, here's a simple example to be executed on your local machine: | ''rsync'' have to be installed on both local and remote host, for example your own computer and SDF. For members below [[membership_levels#metaarpasustaining_membership_level|ARPA]], ''rsync'' will not be available to them, in this case ''scp'' could be used as an alternative, here's a simple example to be executed on your local machine: |
| |
''scp -r -//username//@sdf.org:/path/to/home /local/backup/dir'' | ''scp -r username@sdf.org:/path/to/home /local/backup/dir'' |
| |
What does this mean? \\ | What does this mean? \\ |
| |
* ''-r'' : Recursively copy entire directories. | * ''-r'' : Recursively copy entire directories. |
* //username// : your SDF username. | * ''username'': Your SDF username. |
* ''/path/to/home'' [[#for_example:|[1]]] : The path to the directory you wish to backup. | * ''/path/to/home'' [[#for_example:|[1]]] : The path to the directory you wish to backup. |
* ''/local/backup/dir'' : Where you would like the files to be stored locally. | * ''/local/backup/dir'' : Where you would like the files to be stored locally. |