* Re: tar & samba file systems
2005-09-15 16:03 Luca Ferrari
@ 2005-09-15 15:45 ` jason
0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2005-09-15 15:45 UTC (permalink / raw)
To: Luca Ferrari; +Cc: linux-admin
--one-file-system and then just specify the mounts that you want to backup. ala /boot / /home
--
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet
On Thu, 15 Sep 2005, Luca Ferrari wrote:
> Hi,
> I've got a few samba shares mounted on a directory tree that I backup with
> tar. I'd like my backups does not include the samba shares, that is backups
> include files of the local file system only, but even with the -l option tar
> is exploring the samba shares, increasing backup time. Any suggestion?
>
> Thanks,
> Luca
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* tar & samba file systems
@ 2005-09-15 16:03 Luca Ferrari
2005-09-15 15:45 ` jason
0 siblings, 1 reply; 4+ messages in thread
From: Luca Ferrari @ 2005-09-15 16:03 UTC (permalink / raw)
To: linux-admin
Hi,
I've got a few samba shares mounted on a directory tree that I backup
with tar. I'd like my backups does not include the samba shares, that is
backups include files of the local file system only, but even with the
-l option tar is exploring the samba shares, increasing backup time. Any
suggestion?
Thanks,
Luca
--
Luca Ferrari
fluca1978@infinito.it
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: tar & samba file systems
@ 2005-09-15 16:18 Callahan, Tom
2005-09-16 8:35 ` Adam T. Bowen
0 siblings, 1 reply; 4+ messages in thread
From: Callahan, Tom @ 2005-09-15 16:18 UTC (permalink / raw)
To: 'jason', Luca Ferrari; +Cc: linux-admin
Or you can use --exclude to specify directories/files not to be backed
up....
Tom Callahan
-----Original Message-----
From: linux-admin-owner@vger.kernel.org
[mailto:linux-admin-owner@vger.kernel.org] On Behalf Of jason
Sent: Thursday, September 15, 2005 11:45 AM
To: Luca Ferrari
Cc: linux-admin@vger.kernel.org
Subject: Re: tar & samba file systems
--one-file-system and then just specify the mounts that you want to backup.
ala /boot / /home
--
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet
On Thu, 15 Sep 2005, Luca Ferrari wrote:
> Hi,
> I've got a few samba shares mounted on a directory tree that I backup with
> tar. I'd like my backups does not include the samba shares, that is
backups
> include files of the local file system only, but even with the -l option
tar
> is exploring the samba shares, increasing backup time. Any suggestion?
>
> Thanks,
> Luca
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tar & samba file systems
2005-09-15 16:18 tar & samba file systems Callahan, Tom
@ 2005-09-16 8:35 ` Adam T. Bowen
0 siblings, 0 replies; 4+ messages in thread
From: Adam T. Bowen @ 2005-09-16 8:35 UTC (permalink / raw)
To: linux-admin
Hi,
I have had similar behaviour from tar before when using -l (aka
--one-file-system). It was because I was doing something like:
tar -lcvf local_files.tar *
in /. The * of course is expanded to all the filenames in the directory
causing the command to look like:
tar -lcvf local_files.tar etc bin boot home ...
So even though, say, home is mounted on another partition to /, I am
stating the name of home on the command line and so it is included. Any
other non-local file systems encountered whilst traversing the
directories given will not be followed of course. Anyway, the solution
is to do:
tar -lcvf local_files.tar .
or just name the directories you want.
Hope that helps.
Adam
Callahan, Tom wrote:
> Or you can use --exclude to specify directories/files not to be backed
> up....
>
> Tom Callahan
>
> -----Original Message-----
> From: linux-admin-owner@vger.kernel.org
> [mailto:linux-admin-owner@vger.kernel.org] On Behalf Of jason
> Sent: Thursday, September 15, 2005 11:45 AM
> To: Luca Ferrari
> Cc: linux-admin@vger.kernel.org
> Subject: Re: tar & samba file systems
>
> --one-file-system and then just specify the mounts that you want to backup.
> ala /boot / /home
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-16 8:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 16:18 tar & samba file systems Callahan, Tom
2005-09-16 8:35 ` Adam T. Bowen
-- strict thread matches above, loose matches on Subject: below --
2005-09-15 16:03 Luca Ferrari
2005-09-15 15:45 ` jason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).