Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-03-2014, 08:36 AM   #1
LQ Newbie
Registered: Jun 2014
Location: south africa
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
Unhappy how do i backup squid,samba,network and webmin directories

root@pctech:~# fdisk -l

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000164d7

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 960165887 480081920 83 Linux
/dev/sdb2 960167934 976771071 8301569 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sdb5 960167936 976771071 8301568 82 Linux swap / Solaris

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000be9b2

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 299839487 149918720 83 Linux
/dev/sda2 299841534 312580095 6369281 5 Extended
/dev/sda5 299841536 312580095 6369280 82 Linux swap /

the above is the situation i have. sdb1 is a disk the has corrupted GRUB. now i want to back up configuration files for network,webmin,samba and squid so that it will be on sda1.

I tried to find a way to save those files but am failing. see below. sda1 is a linux machine working fine so i connected the sdb disk jst to save configuration, please help
Old 09-03-2014, 01:47 PM   #2
Senior Member
Registered: Nov 2011
Distribution: Debian
Posts: 1,170

Rep: Reputation: 240Reputation: 240Reputation: 240
Since you only want to backup small amounts of data you could setup a cron job
to create a directory based on the current date and simply copy your config files into these named directories.

Alternatively, for larger amounts of data, backup2l is an easy to configure backup system for backing up to a disk target.
It performs a mixture of differential and occasional full backups.

However, there are many backup schemes you could use...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin Backup Issue athomas Linux - Software 1 10-26-2010 12:56 AM
backup recursive directories with webmin? guest Linux - Server 1 02-02-2009 12:14 PM
Webmin 1.400 Webserver Backup ActivEcks Linux - Server 1 01-02-2009 11:37 AM
Squid howto using webmin linuxlover.chaitanya Linux - Software 0 04-18-2008 12:54 AM
Webmin simple backup fails Tenover Linux - Software 3 12-16-2005 11:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration