fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: Restoring from a tarball

Re: Restoring from a tarball

From: Larry Brower <larry_at_nospam>
Date: Tue Oct 18 2011 - 20:38:29 GMT
To: users@lists.fedoraproject.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 10/18/2011 03:33 PM, Joe Zeff wrote:
> On 10/18/2011 01:18 PM, Ian Malone wrote:
>> Yes by default it will have stripped them on archiving. Since they
>> were archived with the full path otherwise you can using -C / will get
>> the original full path back:
>> tar xf marcia.tar.bz2 -C /
>> Do this as user 'marcia' and you should be okay for UIDs on extraction
>> (it will also prevent it accidentally extracting somewhere else on the
>> filesystem).
>
> Note that I did this as root (using sudo, as it's on Ubuntu) to make
> sure all permissions were preserved. Wouldn't it be best to restore it
> the same way, for the same reason? And, there was exactly one user on
> the old box, as there will be on the new installation.

Yes, you would want to do this as root.
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJOnePFAAoJEF1Xw4ZWTEoJd8MP/269AGElefvPNUJEKJ6lse7A
HpZ90kHXju+BmvH4M1Iy+rJD07UoGzQ0vr2CTY8Ky0p8kRPlQ3FS+ERygBi/lBpB
r2AM1cqYh88XLkI4oHI3WDOqX49dQkaOIR+6baLYB6lPtKYWmbq6kk0jbz5O8tUC
5Wu2vVn/F//Y6GTJdawcCN+NT9nCrMViG7V6z0JUtlHI87CTlwrkqSYKv9JfvhqW
DxADFN/UTeCfGS/ogWBbgcO7KwXxUnRpsoAf0WTBq0ZN5bU7niPLad+ECGenKvLb
Bc10fydAKIGSH7bbt+wODoIHfZJr15OF3RbwYf71SDbfn0hA6tF+APPhZvjmAaLW
Axp7FrKSWHABL7zBfSUeXhLOmTqoTePLy6e5akADcAdRI6cvCatBWrkcHyb1lDbM
ufWQ411O17vVsVV5j/TXJBxsHLn5CSDsJ3tBUr5e79PgDHrVMr1X/D3go3o7YeWh
Eb1FNRY9RtOXeXlCgdT1udjYZ63fBxonj26YHJP9Y1vneDqmWrOirzZdSj7t7upz
s/VaQ7MJgJqvQJuDND48FmvtMBpBZISSqwse1QLkqxwomat7jvKizFffAevQ5wZD
VK48ioEvF965rN9h4Pidqd3u49Wx/p43abMf+eKmoPRjbCiQJvqjxUGNMkQWdERo
GdEXivvMTcKa/bvw/Jdf
=h4uu
-----END PGP SIGNATURE-----
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines