+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 5 of 9

Thread: How To Backup Home Directory

  1. #1
    quynh_anh121
    Guest

    How To Backup Home Directory

    Hi.



    I have a dedicated server with a specialist application that is installed in the /home directory. It is probably quite large in the region of a couple of gig.



    I have root access via SSH. I have been using PUTTY and WINSCP to administer this server.

    My question is how do I make a backup of my home directory and the entire contents ?

    What are the commands for this using putty ?



    When I have the backup I will download it and store it offsite.



    Any help will be appreciated as this is urgently needed.



    Thank you
    More Information:
    1. If you're backing up your entire system as the root user, don't forget to backup these items in everyone's home directory, including /root
    2. Also, because the contents of your FileVault-protected home directory are technically on another volume, CCC will not back up the contents of your home directory
    3. Tagged as: archiving, backup home directory linux, home directories, how to back up /home folder linux, hp, hp ux, linux backup home, linux backup home
    4. I ask because I already maintain an rsync'd home directory between my different computers (for ease and backup) and hoped that I might be able to create
    5. 5 posts - 3 authors - Last post: Mar 21, 2009Hi From inside cPanel control panel, is there a size limit to the home directory backup a user can download
    6. However, the current version of Apple's Backup program will let you store your files locally on a hard drive, CD or DVD
    7. attach external usb harddisk debian; automatically back up debian home directory to external; back up linux usb; back up my home linux; backing up database to external
    8. creates a cpio archive file (containing the everything in /home/) called home-backup
    9. This also lead me down the path to look at RSyncX for syncing my iBook with my G5 (Home directory only)

    More:


  2. #2
    domihuytran
    Guest

    Just Login to the Putty and then fire the commands listed below one by one.



    cd /

    cd home

    tar -cvzf home.tar.gz .



    You can then download the file home.tar.gz using the FTP. Home directory backups can also be generated from the controlpanel.
    More Information:
    1. Does it make sense to backup the entire /home directory? Or should I selectively backup the config files I want to retain?
    2. For the purpose of this tutorial we will assume your backup file is stored in the directory /home/test and named backup
    3. This one only backs up the confluence-home directory so you just have to add back the database export if you want that:
    4. When /home directory is on a standalone partition then very few things can go wrong, but it is always a good idea to create a backup
    5. If I do a backup of my Home directory only, will that include my system settings as well? I'm thinking of My Favourites, Menu bar
    6. The volume is mounted in the AFS filespace as the user's home directory, and provides a repository for the user's personal files
    7. The Library folder in your Home directory is one of the most important
    8. gibak appears to be hardcoded to backup only the home directory
    9. 10 on my work laptop, its time to do an extra backup of my home directory

  3. #3
    maxxnos
    Guest


    Quote:








    Originally Posted by MayurGondaliya


    Just Login to the Putty and then fire the commands listed below one by one.



    cd /

    cd home

    tar -cvzf home.tar.gz .



    You can then download the file home.tar.gz using the FTP. Home directory backups can also be generated from the controlpanel.



    Thank you very much.



    While it is backing up will it kill the server speed, should I wait until the early morning hours.



    How long would 2GB take to backup ?



    The server is dual core AMD opt 2GB Ram. At the moment it is very fast.

    Thank you.



    dalem
    More Information:
    1. To backup my home directory to a tar file located in the root of a second hard disk I did the following: a
    2. So when you specify the remote backup directory for rdiff
    3. I didn't want to backup the whole /home directory as the archive size would be very large and unwieldly
    4. I still backup my desktop's home directory daily using full + incremental method
    5. 16 posts - 9 authors - Last post: Nov 24, 2005[Archive] How copy/backup home directory? Absolute Beginner Talk
    6. Select the portion of your site to back up by clicking Home Directory, MySQL Databases, or Email Forwarders & Filters
    7. I would use the Add Directory button on the left to add /home/steve/Documents to the Files and Directories to Back Up list

  4. #4
    blusky
    Guest

    You should use above commands in mid night so that your visitors do not get website surfing sluggish. Backing up 2 GB data won't take long.
    More Information:
    1. Home Support Cpanel Tutorials Cpanel tutorial how to backup and restore your home directory
    2. You can exclude certain files and directories from a backup by placing a configuration file in your home directory
    3. It makes perfect sense to backup your whole home directory
    4. Note for Linux beginners: just remember, that the ~/ represents your home directory
    5. Let's also assume that you want to back up your email into a directory called gmail-archive and that your home directory is located at /home/bob/
    6. Now find the line that starts with backup and replace the current home directory / with the new one /share/MD0_DATA/backup/home

  5. #5
    theanh1869
    Guest

    Thanks to everybody for kind help.



    Very much appreciated.



    Dalem
    More Information:
    1. Backing up your information explains how to back up your profile, how to restore a profile backup, and how to move your profile information to a different
    2. 10 systems, with an Encrypted Home Directory, by using the following command:
    3. This is what you do when you copy your home directory to that external drive for example
    4. Due to how FileVault home directories are managed by Mac OS X, it
    5. Please see the Network Storage section for instructions on how to connect to your home or group directory
    6. Ignore all of these settings except for the 'Home Directory' option
    7. To perform a full backup, use a command form that's similar to tar -cvffilename, followed by the name of the user's home directory
    8. BTW: I believe this command structure depends on a backup directory be made called /backup/home/me on the receiving machine prior to doing the backup
    9. If you click on “Add Directory” button you should see the following screen where you can select your Directory for backup

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Is there a wap to Make a sheduled backup of files but excluding the Upload directory
    Hi fellas I need some help with making scheduled backup of Files on my server ( ie all images , scripts, etc ) but excluding one directory which...
  2. Backup Upload now what to do
    i've upload my vbulletin forum but unable to run my site. plz tell me how to use forum backup.
  3. This is wierd - Cpanel Home Directory Restore Problem
    I am attempting to restore a home directory backup of cpanel on a different cpanel server to assist with the sale of a site. The restore appears...
  4. Php Directory Script That Creates Directory According To State And Town Names
    Do you have any leads on such a script and MySQL data?
  5. error_log created under cpanel home directory
    Hello, I have started putting up the Ad Coop since last month. I am facing a problem these days. After every 4-5 days, an error_log file is...

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

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
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish