Hello, I have a problem - I attended a UNIX course a couple of years back but, unfortunately, I don't remember how to write scripts for shell commands. Now I want to make a script that makes a backup of a folder on a remote computer and I have no idea how to begin.
So the idea is that I want the script to create a series of archives of a target directory, each archive must be no larger than 2GB in size and files should be each put in only one archive (as opposed to half of the file in archive1 and the other half in archive2), do not worry there are no files bigger than 2GB
. For the transfer along the net I remember something about "ssh" and generated keys - to avoid password requst every time.
I also want the script to create a text file which indicates which file is in which archive or which archive contains which files, whichever.
Thank you!