Jump to content

Backup?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1
Grub

Grub

    Learning Programmer

  • Members
  • PipPipPip
  • 57 posts
How can I backup and restore my entire Linux OS?

#2
Guest_tcm9669_*

Guest_tcm9669_*
  • Guests
Might help you?

http://www.desktopli...2280165098.html

and

http://tldp.org/HOWT...OWTO/index.html

#3
Crop

Crop

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
I just tar all of my important files:

tar -zcvf home.tar.gz /home/crop/*

I can always restore the OS to default and just untar my files.

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
This is what I do as well. I think most backup systems do. I know that the WHM/cPanel backup scripts do a database dump per user and then tar their home directory. It works well and I've restored an entire host using these backups.

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
So that will produce a huge tar archive?

#6
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
It will produce an archive of all the home files for crop. It depends on how many files he has as to the size though.

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts

Quote

how many files he has as to the size though

Why? Is there a size limit for tar archives?

#8
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I think he is referencing your "huge tar file". If crop only has one file at 1kb in his home directory it will not produce a huge tar file.

#9
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Ow, ok.. a small misunderstanding.