Re: Restoring from a tarball

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

 



-----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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux