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

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



On 18/06/12 10:54, 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?

I suppose it could be possible to create a large file on the samba share, format it as ext2/3/4 and mount it using the loop option. Then you end up with samba just seeing a single file, but your box seeing an extX filesystem with all the attributes.

--
Dom


Reply to: