Ordner Berechtigungen bei backup2l
Ordner Berechtigungen bei backup2l
Ordner sind nach backup2l entpacken als root:root und nicht mehr als user:gruppe also das was es vorher war vorhanden. wie wäre das zu lösen?
Grüße Manfred
Grüße Manfred
Re: Ordner Berechtigungen bei backup2l
man chmod
man chgrp
man tar
man rules
man chgrp
man tar
man rules
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Ordner Berechtigungen bei backup2l
Nur Dumm das es nicht am entpacken sondern an backup2l liegt...
weiss jemand was prokonstruktives?
weiss jemand was prokonstruktives?
Re: Ordner Berechtigungen bei backup2l
Wenn Du so genau weisst, wo der Fehler ist, kannst Du ja auch selbst beheben...Schluffi wrote:Nur Dumm das es nicht am entpacken sondern an backup2l liegt...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Ordner Berechtigungen bei backup2l
Danke.
Du suchst Hilfe? Dann teile uns bitte die Version und Konfiguration des betroffenen Programmes, sowie alle relevanten Logauszüge mit. Dadurch hilfst Du uns, die Ursache des Problems möglichst schnell zu lokalisieren und zu beheben.
Re: Ordner Berechtigungen bei backup2l
Code: Select all
grep -n tar /path/to/backup2lPayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Ordner Berechtigungen bei backup2l
backup2l
entpackt mit:
und dennoch root:root
Code: Select all
184: echo "tar.gz"
187: tar czf $3 -T $4 --same-permissions --same-owner --no-recursion 2>&1
188: | grep -v 'tar: Removing leading .* from .* names'
Code: Select all
tar xzf all.1.tar.gz --same-permission --same-owner --directory=/home/backup/test/Re: Ordner Berechtigungen bei backup2l
Existiert user:group auf dem Zielsystem überhaupt?
BTW: IMHO eleganter:
BTW: IMHO eleganter:
Code: Select all
tar -czSp --atime-preserve --same-owner --numeric-owner --no-recursion -f $3 -T $4 2>&1
tar -xSp --atime-preserve --same-owner -f all.1.tar.gz -C /home/backup/test/
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Ordner Berechtigungen bei backup2l
Ja klar existieren user:group, ich teste grad auf nur! einem system.
Also fakt ist, sobald das ganze über backup2l laufen soll klemmts.
ist nicht gleich
Beim oberen, ausgeführt aus backup2l werden keine Besitzerinfarmationen gesetzt. ständig nur root:root
Beim unteren, von hand ausgeführt, sind die Besitzerinformationen jedoch da. Das ist doch total unlogisch?
Ich hab schon alles von tar durchprobiert, das kann doch nicht sein?
Also fakt ist, sobald das ganze über backup2l laufen soll klemmts.
Code: Select all
tar -cvzf $3 -T $4 2>&1Code: Select all
tar -cvzf /temp/1.tar.gz /home/httpd/
Beim unteren, von hand ausgeführt, sind die Besitzerinformationen jedoch da. Das ist doch total unlogisch?
Ich hab schon alles von tar durchprobiert, das kann doch nicht sein?
