Fedora Linux Support Community & Resources Center
  #1  
Old 13th December 2012, 06:28 AM
shabakeh Offline
Registered User
 
Join Date: Jan 2008
Posts: 162
windows_7chrome
introduce a backup solution

hi everyone

i work in a datacenter and i need an opensource backup solution. i have around 50 linux server include oracle database , application servers and so on . i want to backup from OS's and specified directories. thanks in advance
Reply With Quote
  #2  
Old 14th December 2012, 06:16 PM
Ihatewindows's Avatar
Ihatewindows Offline
Registered User
 
Join Date: Oct 2012
Location: Fort Wayne, IN
Posts: 1,090
linuxfirefox
Re: introduce a backup solution

Well, there's always Deja Dup.
http://rpmfind.net/linux/rpm2html/se...query=deja-dup
Reply With Quote
  #3  
Old 14th December 2012, 07:17 PM
shabakeh Offline
Registered User
 
Join Date: Jan 2008
Posts: 162
windows_7chrome
Re: introduce a backup solution

thanks man

but i think youre kidding.
Reply With Quote
  #4  
Old 14th December 2012, 07:20 PM
Ihatewindows's Avatar
Ihatewindows Offline
Registered User
 
Join Date: Oct 2012
Location: Fort Wayne, IN
Posts: 1,090
linuxfirefox
Re: introduce a backup solution

Then try this:
http://www.techrepublic.com/blog/10t...-utilities/895
Reply With Quote
  #5  
Old 14th December 2012, 07:30 PM
Dutchy Offline
Registered User
 
Join Date: Aug 2011
Posts: 694
linuxfirefox
Re: introduce a backup solution

We are here to do your work/research?
Reply With Quote
  #6  
Old 14th December 2012, 07:33 PM
shabakeh Offline
Registered User
 
Join Date: Jan 2008
Posts: 162
windows_7chrome
Re: introduce a backup solution

hi Dutchy

youre wrong. because i searched and consulted by experts but i want to be sure about my decision. i want to run backup project in a datacenter and i dont want to hurry. ok?
Reply With Quote
  #7  
Old 14th December 2012, 08:43 PM
Ihatewindows's Avatar
Ihatewindows Offline
Registered User
 
Join Date: Oct 2012
Location: Fort Wayne, IN
Posts: 1,090
linuxfirefox
Re: introduce a backup solution

Try going to the RedHat website. I'm sure if you make an account there you can get some good tools.
http://www.redhat.com
Reply With Quote
  #8  
Old 14th December 2012, 09:24 PM
shabakeh Offline
Registered User
 
Join Date: Jan 2008
Posts: 162
linuxfirefox
Re: introduce a backup solution

thanks for your kind of help
Reply With Quote
  #9  
Old 15th December 2012, 08:00 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfirefox
Re: introduce a backup solution

Use LVM and lvcreate snapshot on free VG space, mount snampshots on /mnt/mountpoint,
mount a storage device and cd /mnt/storagemountpoint/path/to/dir/archives.
Use tar to backup.

Piece of cake, easy as pie.

[root@Ruthie-07 ~]#
[root@Ruthie-07 ~]# uptime
23:29:02 up 1:30, 2 users, load average: 0.02, 0.04, 0.05
[root@Ruthie-07 ~]#
[root@Ruthie-07 ~]#
[root@Ruthie-07 ~]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
home VolGroup71 -wi-ao--- 410.00g
root VolGroup71 -wi-ao--- 31.62g
swap VolGroup71 -wi-ao--- 4.00g
LogVol72Storage VolGroup72 -wi-a---- 600.00g
LogVol73Storage VolGroup72 -wi-a---- 331.00g
[root@Ruthie-07 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.5G 0 1.5G 0% /dev
tmpfs 1.5G 112K 1.5G 1% /dev/shm
tmpfs 1.5G 2.8M 1.5G 1% /run
tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup
/dev/mapper/VolGroup71-root 32G 5.3G 25G 18% /
tmpfs 1.5G 16K 1.5G 1% /tmp
/dev/sda1 504M 130M 350M 27% /boot
/dev/mapper/VolGroup71-home 404G 2.7G 381G 1% /home
[root@Ruthie-07 ~]# mount /dev/mapper/VolGroup72-LogVol72Storage /mnt/storage72
[root@Ruthie-07 ~]# lvcreate --size 4G --snapshot --name /dev/VolGroup71/snaproot /dev/VolGroup71/root
Logical volume "snaproot" created
[root@Ruthie-07 ~]# lvcreate --size 4G --snapshot --name /dev/VolGroup71/snaphome /dev/VolGroup71/home
Logical volume "snaphome" created
[root@Ruthie-07 ~]# mount /dev/VolGroup71/snaproot /mnt/snaproot
[root@Ruthie-07 ~]# mount /dev/VolGroup71/snaphome /mnt/snaphome
[root@Ruthie-07 ~]# cd /mnt/storage72/BKUPS/tararchives
[root@Ruthie-07 tararchives]# ls -l *1214*.tar
-rw-r--r--. 1 root root 117981184 Dec 14 16:40 bkupboot12142012fc18.tar
-rw-r--r--. 1 root root 956153856 Dec 14 16:42 bkuphome12142012fc18.tar
-rw-r--r--. 1 root root 5516017664 Dec 14 16:54 bkuproot12142012fc18.tar
[root@Ruthie-07 tararchives]# tar -c -f bkupboot12152012fc18.tar /boot --preserve-permissions --preserve-order --xattrs --totals -b32
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
Total bytes written: 117981184 (113MiB, 37MiB/s)
[root@Ruthie-07 tararchives]# tar -c -f bkuphome12152012fc18.tar /mnt/snaphome --preserve-permissions --preserve-order --xattrs --totals -b32 --exclude=*.iso --exclude=*.vdi
tar: Removing leading `/' from member names
Total bytes written: 969850880 (925MiB, 26MiB/s)
[root@Ruthie-07 tararchives]# tar -c -f bkuproot12152012fc18.tar /mnt/snaproot --preserve-permissions --preserve-order --xattrs --one-file-system --totals -b32
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
Total bytes written: 5508612096 (5.2GiB, 8.9MiB/s)
[root@Ruthie-07 tararchives]# uptime
23:48:17 up 1:49, 2 users, load average: 0.97, 0.95, 0.56
[root@Ruthie-07 tararchives]# ls -l *1215*.tar
-rw-r--r--. 1 root root 117981184 Dec 14 23:36 bkupboot12152012fc18.tar
-rw-r--r--. 1 root root 969850880 Dec 14 23:37 bkuphome12152012fc18.tar
-rw-r--r--. 1 root root 5508612096 Dec 14 23:48 bkuproot12152012fc18.tar
[root@Ruthie-07 tararchives]# lvs
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
home VolGroup71 owi-aos-- 410.00g
root VolGroup71 owi-aos-- 31.62g
snaphome VolGroup71 swi-aos-- 4.00g home 0.05
snaproot VolGroup71 swi-aos-- 4.00g root 3.92
swap VolGroup71 -wi-ao--- 4.00g
LogVol72Storage VolGroup72 -wi-ao--- 600.00g
LogVol73Storage VolGroup72 -wi-a---- 331.00g
[root@Ruthie-07 tararchives]# umount /mnt/snaphome /mnt/snaproot
[root@Ruthie-07 tararchives]# lvremove /dev/VolGroup71/snaphome
Do you really want to remove active logical volume snaphome? [y/n]: y
Logical volume "snaphome" successfully removed
[root@Ruthie-07 tararchives]# lvremove /dev/VolGroup71/snaproot
Do you really want to remove active logical volume snaproot? [y/n]: y
Logical volume "snaproot" successfully removed
[root@Ruthie-07 tararchives]# cd /home/darwinhwebb/Downloads
[root@Ruthie-07 Downloads]# cp -a -n -t /mnt/storage72/BKUPS/YR2013 usb-*
[root@Ruthie-07 Downloads]# cd /
(reverse-i-search)`umount': umount /mnt/storage72

SJ
__________________
Do the Math
Reply With Quote
Reply

Tags
backup, introduce, solution

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup solution Adunaic Using Fedora 2 12th October 2011 12:39 PM
Looking for a backup solution gertdesmet Servers & Networking 12 25th August 2011 07:08 AM
Best backup solution for F12 or F13? JohnRock Using Fedora 5 9th September 2010 01:38 AM
Looking for backup solution zentio Using Fedora 3 1st September 2010 01:49 AM
Backup Solution salafiyyah Using Fedora 1 28th August 2005 08:42 PM


Current GMT-time: 12:21 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat