You are not logged in.

#1 2010-11-17 21:31:13

STANKAR
Member
From: Czech Republic
Registered: 2010-11-16
Posts: 47

[SOLVED] Backup my Arch

Hi, im little new in Arch. I have a question. If i have back up (copy all directories to usb flash) and i'll reinstall arch and i'll copy all directories to arch, will i have all things (configurations and packages) same as the latest arch ?? Thx for answers.
PS: sorry for my english

Last edited by STANKAR (2010-12-28 15:31:50)

Offline

#2 2010-11-17 21:50:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] Backup my Arch

IMHO, best way to backup your Arch is to back /etc (which has all your config), and keep a copy of `pacman -Qe` (which lists all the packages you explicitly installed -- not dependencies) so you can reinstall everything in the list, then restore all the config to /etc

Offline

#3 2010-11-17 22:19:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Backup my Arch

Packages change often - Arch is a rolling release distro - so you may still need to update your system after you reinstall it.

Offline

#4 2010-11-17 22:46:20

anon27
Member
Registered: 2010-11-10
Posts: 18

Re: [SOLVED] Backup my Arch

fukawi2 wrote:

IMHO, best way to backup your Arch is to back /etc (which has all your config), and keep a copy of `pacman -Qe` (which lists all the packages you explicitly installed -- not dependencies) so you can reinstall everything in the list, then restore all the config to /etc

Does /etc have a copy of my conf files in ~/ like .bashrc and .vimrc?

Offline

#5 2010-11-17 22:48:03

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Backup my Arch

I think it goes without saying that you will also need to copy /home

Offline

#6 2010-11-18 00:25:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED] Backup my Arch

skunktrader wrote:

I think it goes without saying that you will also need to copy /home

Uhh, yeah, that was my assumption... neutral

Offline

#7 2010-11-18 01:25:44

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] Backup my Arch

What do you want to do exactly? I don't understand the question... If you backup your whole Arch install then it's useless to reinstall it before restoring the backup. Unless you only backup some directories...

What do you mean by "the latest Arch"? If you reinstall then you'll have the more recent packages, but if you restore your backup then you'll have whatever was installed when you made the backup.

Offline

#8 2010-11-18 08:12:08

STANKAR
Member
From: Czech Republic
Registered: 2010-11-16
Posts: 47

Re: [SOLVED] Backup my Arch

stqn wrote:

What do you want to do exactly? I don't understand the question... If you backup your whole Arch install then it's useless to reinstall it before restoring the backup. Unless you only backup some directories...

What do you mean by "the latest Arch"? If you reinstall then you'll have the more recent packages, but if you restore your backup then you'll have whatever was installed when you made the backup.

I understood smile

fukawi2:  smile THX. That i needed to know. smile

Offline

#9 2010-11-18 10:07:15

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: [SOLVED] Backup my Arch

fukawi2 wrote:

IMHO, best way to backup your Arch is to back /etc (which has all your config), and keep a copy of `pacman -Qe` (which lists all the packages you explicitly installed -- not dependencies) so you can reinstall everything in the list, then restore all the config to /etc

If you put stuff in /usr/local, /var and /srv, don't forget that aswell.
I just use rsnapshot over / (with some exclude rules for devfs etc)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB