LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-08-2010, 09:02 AM   #1
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167
Blog Entries: 4

Rep: Reputation: 16
Wink Backup of your System


In the UPGRADE-TXT,they say :

'Before you begin, I would strongly recommend making a backup of your
system, or, if not the entire system, at least the /etc directory.'

What is the easiest way to make a backup of the whole system ?

NjB
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-08-2010, 09:05 AM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
you can just .tar.gz the whole system I would guess
probably simpler than using dd

However; being that your upgrading from 13.1 to current
you may not need too

just install new slackpkg first; then edit new /etc/slackpkg/mirrors
then do

slackpkg update && slackpkg upgrade-all && slackpkg install-new
 
Old 08-08-2010, 09:19 AM   #3
RajahBrooke
Member
 
Registered: Jun 2010
Location: Warwickshire, England, UK
Distribution: Slackware 13.1
Posts: 45

Rep: Reputation: 22
Wouldn't the latest version of slackpkg be installed if you "slackpkg update && slackpkg upgrade-all && slackpkg install-new" from the 13.1 repo before switching to -Current (would "upgradepkg slackpkg" work)? I thought the intention of slackpkg was to keep your software in sync with the official repos, so it seems ironic that it wouldn't keep itself in sync. Forgive my ignorance, as it says under my name, I'm a Slack-n00b.
 
Old 08-08-2010, 09:31 AM   #4
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Talking Clonezilla

Quote:
Originally Posted by njb View Post
In the UPGRADE-TXT,they say :

'Before you begin, I would strongly recommend making a backup of your
system, or, if not the entire system, at least the /etc directory.'

What is the easiest way to make a backup of the whole system ?

NjB
Surley its easy to use something like clonezilla as found on the Parted Magic live CD, or if you want to know what I use sometimes on XP,I prefer the old Paragon 6 which I think is still free...
 
1 members found this post helpful.
Old 08-08-2010, 09:34 AM   #5
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by njb View Post
What is the easiest way to make a backup of the whole system ?

NjB
Not sure what other's would claim to be the easiest. Here's a nice guide Link. When I need to make a disaster recovery backup, I boot from the Slackware DVD, mount the hard drive in read only mode, mount our file server's nfs share. Then tar/gzip the contents to the file server.

Clonezilla is an easy tool to create a complete backup. I've used it many times to create bootable restore DVDs.

There's more methods and applications to backup your system then that are days in a year.

Quote:
Wouldn't the latest version of slackpkg be installed if you "slackpkg update && slackpkg upgrade-all && slackpkg install-new"
It hasn't in the past. There is no automatic or predefined upgrade order that slackpkg does. Though it would be nice if slackpkg would process the changelog, and if certain package updates are found (pkgtools, tar, xz, findutils, slackpkg ...) sort the list and upgrade those first.

It's stuck in my head to always upgrade those special packages manually in order first - then do the install-new upgrade-all. I pretty sure the order is defined in UPGRADE.TXT with an explanation as to why that order is necessary.
 
Old 08-08-2010, 09:40 AM   #6
RajahBrooke
Member
 
Registered: Jun 2010
Location: Warwickshire, England, UK
Distribution: Slackware 13.1
Posts: 45

Rep: Reputation: 22
OK, well I'll definitely take special care to look out for it next time I read UPGRADE.TXT - this is the sort of thing that could have caused me serious problems if I'd remained ignorant. Cheers for the heads-up.

Last edited by RajahBrooke; 08-08-2010 at 09:40 AM. Reason: typos
 
Old 08-09-2010, 02:24 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
However; being that your upgrading from 13.1 to current
you may not need too
A backup is always a good idea.
Backup should be your second nature when changing files, or doing upgrades.
 
Old 08-09-2010, 05:37 AM   #8
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
I think many people have the wrong idea of what backups are, how to do them, and how often to do them. In this case the OP asked what backup to do before a system upgrade. But what if his disk crashed - he would lose everything not backed up. The trick here is to decide what's important to you. Don't backup the system executables - those can be rebuilt from an install disk. Forget the system logs - you don't need them. What you want is any special configuration changes you made (that's usually the /etc dir, maybe one or two others like /boot). Then there's your personal stuff - mail, documents, bookmarks, multimedia (movies/music) - these must be backed up. But not just for an upgrade ! Assume that you could lose your system at any time - theft, crash, etc. You should copy your important stuff to another separate disk (usb, esata, network). Don't trust your data to you home server only - what if your entire house burned down or you were burgled and both your laptop and server was stolen. Disks are cheap - keep multiple versions of your data over several devices (rsync to usb is fantastically fast) - and then ask a friend to keep the disk at his house. Perhaps keep his backup at your house. As for how often - simple - how much are you prepared to lose !
 
2 members found this post helpful.
Old 08-09-2010, 07:23 AM   #9
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167

Original Poster
Blog Entries: 4

Rep: Reputation: 16
Wink

The /etc directory is very important of course.
But Recently I newly installed 13.1 with the ISO DVD then I upgraded using pointing the slackpkg mirrors to current then using
slackpkg update, install-new and upgrade-all.

Everything went all right except
I didn't mad a recent copy of my bookmarks in Firefox (*.json).
The same for the contacts (Address Book) in Thunderbird (*.ldif).

I was obliged to go to old files

The System (mainly config files)
The Datas (audios videos photos text documents ...)
But also the Contacts and Bookmarks

Three Categories so may be three backups

NjB
 
  


Reply



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
system backup from running system gernonimo Linux - Server 5 11-26-2008 12:59 PM
how to take system backup like system restore in windows piyush.ml20 Linux - Newbie 3 09-26-2008 03:57 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
System Backup, what do you backup? GlennsPref Mandriva 8 06-02-2008 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:49 PM.

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