Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to make a backup script for rsync ???

  1. #11
    Join Date
    Sep 2010
    Location
    Trinidad and Tobago
    Beans
    72
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to make a backup script for rsync ???

    Thanks Everyone

  2. #12
    Join Date
    Sep 2007
    Location
    bay area, CA
    Beans
    43
    Distro
    Ubuntu

    Re: How to make a backup script for rsync ???

    Don't forget
    Code:
    gconftool-2 --dump /apps/panel > ~/gnome-panel.settings


    Quote Originally Posted by oldfred View Post
    Here is one example.

    Originally Posted by MountainX View Post #20 also other backup apps
    http://ubuntuforums.org/showthread.p...ghlight=backup
    use a text editor and paste this into a file. name it mybackup.sh

    I added these two lines so I have current copies in my /home, as I only back up /home.

    cp /etc/apt/sources.list ~/sources.list.backup
    dpkg --get-selections > ~/ubuntu-files

    Someone posted this, but I do not backup /etc, but do copy any manually edited config in /etc into a folder in /home so it gets backed up.

    I backup the following:

    1. /home (Users' personal files and settings)
    2. /etc (System-wide configuration settings)
    3. /var/spool/cron/crontabs (Commands which run automatically)
    4. The script I wrote to generate the backup
    List of sources:
    5. sudo cp /etc/apt/sources.list ~/sources.list.backup
    Installed applications list (to make it easy to reinstall everything)#
    dpkg --get-selections | grep -v deinstall > ubuntu-files
    or
    6. dpkg --get-selections > ubuntu-files

    https://help.ubuntu.com/community/BackupYourSystem
    --"This is just an example; it might be better."

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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