[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba Backup Tool Preserving File Owner/Group/Permissions



On Mon, 18 Jun 2012 12:54:34 +0300, Volkan Yazıcı wrote:

> On Mon, 18 Jun 2012 10:09:04 +0100, keith writes:
>> On Mon, 2012-06-18 at 10:41 +0300, Volkan Yazıcı wrote:
>>> I have access to a remote Samba storage device that I don't have a
>>> control over the uploaded file owner/group/permissions. Hence, once I
>>> upload my stuff to the remote end via rsync over Samba, I lose all my
>>> file attributes. Could you recommend any backup tool that provides a
>>> solution for such scenarios? That is, is there any backup tools that
>>> would preserve the file attributes in a secondary place? Or is there
>>> any other alternate path that you can recommend me to take?
>>
>> Perhaps if you tar (& gzip) your files before sending to your Samba
>> storage. (man tar).
> 
> In such a case, AFAIK, I won't be able to take benefit of incremental
> backups and I will need to tar+cp the whole disk everytime I want to
> take a backup. Am I mistaken?

GNU tar provides a "--listed-incremental" parameter but as I never do 
incremental nor differential backups (for my $HOME I prefer to stick to 
normal/full copies) I can't tell you how this works but Google can be of 
much help here :-)

Greetings,

-- 
Camaleón


Reply to: