Just another trying-to-be-a-geek's blog
Posts tagged backup
The Next Level of Convergence?
Dec 23rd
Wouldn’t it be cool if I could plug a keyboard and monitor into my phone….
/etc+git: great redundant backup solution
Nov 17th
I love backups, and specially redundant backups. Right now i have duplicity which takes encrypted backups of my systems and transfers it to my lappi. (more…)
Screen: Keep your tasks running in a virtual screen
Oct 4th
If you are a sysadmin like me then there would have been thousand times when you would have loved if you could keep you tasks running, go home, come office next morning and continue where your left or connect from home to same session, yet logout from machine from terminal or ssh. Such tasks could and mostly consist of server upgrades, running time consuming scripts such as database dump scripts, mail backups and etc. (more…)
Restore old packages on new install
Oct 3rd
It happens to me a lot that i get a new laptop or machine for half a year or so and i have to use that. Being a sysadmin, i am lazy so i hate installing everything again and again.
I take occasional backups of my configurations files, manage configurations in small files than a huge file so like the concept of *.conf.d directory. Here is what i do to restore my packages:
aptitude --display-format '%p' search '?installed!?automatic' > ~/machine_name-date-packages
sudo xargs aptitude --schedule-only install < old-list-of-packages ; sudo aptitude install
Then i go to sleep for couple of hours, More >