Oops...
So I was casually updating portage on my Gentoo system a couple days ago, and then I ran etc-update. Being the fool I am, I let it overwrite everything and now I''m having lots of problems. Does anyone know if it stores the previous versions anywhere, or does it just completely overwrite them?
Either way I should eventually be fine, I''ll just have to edit text files for a couple hours if I can''t get some of the old ones back
The Artist Formerly Known as CmndrM
http://chaos.webhop.org
that''s why is a good practice to backup the important stuff
How much it could take to cron a gzip of all your configuration files, even daily? 10k?
How much it could take to cron a gzip of all your configuration files, even daily? 10k?
[size="2"]I like the Walrus best.
Well, no easy way. You just have to reconfigure everything.
And please:
#!/bin/sh
tar --create --file //backup-etc.tar.bz2 -j /etc
save and add it to the cron.
And please:
#!/bin/sh
tar --create --file //backup-etc.tar.bz2 -j /etc
save and add it to the cron.
--Eduardo B. Fonsecaebf at aedsolucoes.com.br
Yeah, about the only things I really backup are my files in my home directory. Part of the lack of the backing up done by me is that my cd writer is extremely slow (8x, 4x for RW). This should be remedied soon, however, as I plan on getting a new CDRW drive to tide me over before I build a new computer sometime next year.
The Artist Formerly Known as CmndrM
http://chaos.webhop.org
The Artist Formerly Known as CmndrM
http://chaos.webhop.org
if you once changed a config file with kwrite, gedit, emacs or another __higher_level__-editor, there will be created a __backup__-file. for example:
/etc/fstab
becomes
/etc/fstab [new]
and
/etc/fstab~ [old]
/etc/fstab
becomes
/etc/fstab [new]
and
/etc/fstab~ [old]
our new version has many new and good features. sadly, the good ones are not new and the new ones are not good
Right, but see I didn''t. So unless etc-update uses another editor such as that or copies the files, there are no backups (and there are no *~ files, so it doesn''t use any editors or anything like that).
The Artist Formerly Known as CmndrM
http://chaos.webhop.org
The Artist Formerly Known as CmndrM
http://chaos.webhop.org
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement