Re: Backup script
On Wed, 2011-06-01 at 20:12 +1000, James Robertson wrote:
>
> Hi :)
>
> I'm writing a script to backup the 4 Linux installs and the
> MBRs on my
> machine.
>
> Is there a way to copy all 4 Linux by running one of those
> installs?
>
> With a lack of knowledge I would backup the 3 Linux that
> aren't running,
> by the running Linux and than boot another Linux install, to
> backup the
> previously running Linux.
>
> Regards,
>
> Ralf
>
>
>
>
> Unless your doing something special like taking and image of the
> installs using dd or something then there is no real reason you cannot
> backup everything in one job including the running linux install.
>
>
> Provide more specific information and you might get a better answer.
# cd /mount_point_linux_root_directory
# tar czf /path_for_backups/backup_name.tar.gz *
Asterisk is ok here, no globbing issue for root directories ;). I'll
always have access to the files, I don't sync files, I'll always do
complete backups.
I'm unsure if it's okay, to backup a running Linux by itself. I think it
isn't ok.
Cheers!
Ralf
Reply to: