The MASM Forum

Miscellaneous => The Orphanage => Topic started by: Magnum on February 16, 2014, 02:46:15 PM

Title: For Linux Users
Post by: Magnum on February 16, 2014, 02:46:15 PM

I saw a Linux Image backup program in Linux Puppy.

Looking for some feedback before I use it.

I have been using Macrium Reflect and it does images of multiple partitions which include NTFS, ext2, ext3, and ext4 and restores sucessfully.

Some questions.

1. Can it backup multiple partitions with different Operating Systems ?
2. Have you actually used it ?
3. Is Vladimir Putin really alive or is the guy a clone. :-)

Andy
Title: Re: For Linux Users
Post by: Vortex on February 16, 2014, 08:22:28 PM
Hi Magnum,

Talking about Linux, I would suggest you to use the tar utility. 7-Zip and other similar tools can open the tar archives. Starting the system with a live Linux CD, you can backup the entire system with tar.

Connect to a Windows share :

mkdir /mnt/orclinux
mkdir /mnt/backup

mount -t cifs -o username=domain/user,password=pwd //server/share /mnt/backup


Backup the system excluding some specific folders :

mount /dev/sda1 /mnt/orclinux/

tar --selinux --acls --xattrs --exclude=./tmp/* --exclude=./usr/tmp/* --exclude=./mnt/* -cpvf /mnt/backup/srv-OracleLinux64.tar -C /mnt/orclinux .  > /home/centoslive/Desktop/backuplog.txt
Title: Re: For Linux Users
Post by: Gunther on February 17, 2014, 03:33:02 AM
Erol,

that's a good advice.  :t

Gunther
Title: Re: For Linux Users
Post by: Magnum on February 19, 2014, 04:00:13 PM
Thanks Erol, I will try it out.

I don't have Windows on my desktop system, so I wanted an image backup.

Andy

Title: Re: For Linux Users
Post by: Vortex on February 20, 2014, 05:41:56 AM
Hi Magnum,

You can use an internal \ disk to do the backup. The network share was an example.
Title: Re: For Linux Users
Post by: Magnum on February 20, 2014, 06:06:57 AM
From a Linux post

I have read numerous tutorials but can not find an example of copying a file from one drive to another.

My head is sore from banging it against my desk. Smile

It keeps telling me no such file or directory.

Batch files are so much simpler.

Drives are a,b,c, etc

cd a:
copy *.html b:\documents


Andy

Code:   

#!/bin/bash
# copy file from pen drive to hard drive
cd /
cd mnt/sdj1
# pause this script to see what is going wrong ?
ls | less
cp bookmarks.html ~/Documents