How to Backup and Restore Ubuntu Server Using Tar in Terminal

  • Look here -> Admin Tools.



    Two easy steps simplified


    To Create the Backup Archive:


    sudo tar -cvpzf yourbackupfilename.tar.gz --exclude=/path/to/backup/yourbackupfile*name.tar.gz --one-file-system /


    In the last part of the command a single forward slash will backup the entire root directory, or you can specify a certain directory to backup.


    Restoring your backup:


    sudo tar -xvpzf /path/to/yourbackupfilename.tar.gz -C /directory/to/restore/to --numeric-owner


    If restoring a complete root directory backup the last section of this command would simply be a forward slash /


    you can also ftp the file to your desktop the back up file will be in your home folder on your server:09:

  • master G

    Added the Label Article

Your resource for Linux TV servers and smart card readers.

Find software downloads, drivers, and support for server setup and card-sharing configurations. Set up a Linux-based TV server. Access downloads and support for server software and USB card readers for advanced TV reception and management

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!