First off I should mention that this is for a Linux class that I'm taking, I'm not actually backing anything up. I missed a class last and would like to get caught up for this week and this is the last part of the lab. There are two things left; they don't seem like they should be that hard, but I'm having problems.
1. I have to backup a directory along with it's subdirectories and files to a tar file that will be placed in "/backup". This has to be done in the terminal and apparently has something to do with the 'cpf" parameters but I'm having problems with syntax.
2. The last step is schedule a daily backup a backup via cron. The backup should also be logged to specific file.
Any help from you Linux experts would be appreciated.
1. I have to backup a directory along with it's subdirectories and files to a tar file that will be placed in "/backup". This has to be done in the terminal and apparently has something to do with the 'cpf" parameters but I'm having problems with syntax.
2. The last step is schedule a daily backup a backup via cron. The backup should also be logged to specific file.
Any help from you Linux experts would be appreciated.