SliTaz SliTaz Forum

You are not logged in.

#1 2013-11-12 05:37:58

driftseed
Member
Registered: 2013-08-02
Posts: 21

tar backup

Hi,

I want to backup all file : /

but without : /sys/*

so I use the command : tar --exclude=sys/* -cvp -f /backup/fullBackup$(date -I).tar /

but the command also ignores the file : /usr/unclude/sys/*

How do just ignore /sys/* ?

Offline

#2 2013-12-25 10:15:15

Guest
Guest

Re: tar backup

If you haven't already sorted it out, I think, (from memory), you need --exclude=/sys which should do what you wanted.

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]