Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
backuppare senza la HOME
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Mon Oct 18, 2004 8:18 pm    Post subject: backuppare senza la HOME Reply with quote

Ciao, scusate il disturbo.. domandina veloce:
come faccio a tarballare una partizione (qeuella di root /) senza che mi tenga dentro anke la /home? Questo senza dover smontare /home
Grazie mille
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Mon Oct 18, 2004 8:20 pm    Post subject: Reply with quote

man tar wrote:
Code:
       --exclude=FILE
              exclude file FILE

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
hardskinone
Guru
Guru


Joined: 02 Jan 2004
Posts: 460

PostPosted: Mon Oct 18, 2004 8:47 pm    Post subject: Reply with quote

Oppure:

Code:
--exclude-from=FILE


dove FILE e' un plain text con un elenco di files e directory da escludere.
Back to top
View user's profile Send private message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Wed Oct 20, 2004 5:58 am    Post subject: Reply with quote

Code:
tar -cvvf /home/mauro/RootPart.tar . --exclude=/home/*


Però non va.. mi prende dentro anche ciò che ho in /home/mauro
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Oct 20, 2004 7:44 am    Post subject: Reply with quote

Thundah wrote:
Però non va.. mi prende dentro anche ciò che ho in /home/mauro


Prova così:

Code:
tar -cvvf /home/mauro/RootPart.tar . --exclude=/home

_________________
Ciao da me!
Back to top
View user's profile Send private message
Thundah
Guru
Guru


Joined: 08 Feb 2004
Posts: 477
Location: Switzerland

PostPosted: Wed Oct 20, 2004 10:23 am    Post subject: Reply with quote

Non funziona.. avevo gia provato e ho riavuto la conferma...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum