Hello,
I have to make a Unix script that creates an archive of a target directory on a remote computer, it is like kind of to create a "backup" on a remote computer (in the same LAN).
The script must be started on the local computer, take the desired directory as an argument and create a number of archives, each no bigger in size than 2GB. Each file must be placed only in one archive file, as opposed to half of it in archive1 and the other half in archive2. The archives must be transfered along the net by using "ssh" with generated keys (to avoid password request every time). The directory on the remote computer can either be given as an argument or be built-in.
The script must also create a simple database (some form of txt file), listing which archive contains which files.
Thank you!
I have to make a Unix script that creates an archive of a target directory on a remote computer, it is like kind of to create a "backup" on a remote computer (in the same LAN).
The script must be started on the local computer, take the desired directory as an argument and create a number of archives, each no bigger in size than 2GB. Each file must be placed only in one archive file, as opposed to half of it in archive1 and the other half in archive2. The archives must be transfered along the net by using "ssh" with generated keys (to avoid password request every time). The directory on the remote computer can either be given as an argument or be built-in.
The script must also create a simple database (some form of txt file), listing which archive contains which files.
Thank you!