Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: Backup script

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Backup script


    I need help with backup script.

    Bash script that is going to find files in /usr/share/doc older then a year, and create a tar.gz backup archive in /root/.backup and additionaly script needs to create a log file at /var/log/usr_share_backup.log with fields like: [10/10/2017] - backing up /usr/share/doc/xz/NEWS

    What is the best way? I'm newbie.

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    4,087
    -->
    If you're having trouble with your homework, then you should discuss it with your tutor.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •