Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

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

[Discuss] Backing up the entire software installation

I have a set of things I back up on a nightly basis for each system,
which makes disaster recovery fairly straightforward.

For CentOS and Fedora systems:

1. I back up all of /home, /export, /srv, /etc, /opt, and /usr/local.
2. If the system is a DNS server, I back up /var/named.
3. If the system is a DHCP server, I back up /etc/dhcp.
4. If the system runs apache, I back up /etc/httpd.  For a legacy
system where web sites are under /var/www instead of /srv/www, I also
back up /var/www.
5. If the system is running Postgresql, I back up the data to a file:
    pg_dumpall > PSQL-$(uname -n)-$(date +%F).txt
6. If the system is running MySQL (or MariaDB), I back up the data to a file:
    mysqldump --all-databases > MYSQL-$(uname -n)-$(date +%F).txt
7. I save a list of installed rpm packages:    rpm -qa > RPMs-$(uname
-n)-$(date +%F).txt

On Wed, Oct 24, 2018 at 8:53 PM Nancy Allison <nancythewriter7 at> wrote:
> Hi, all.
> I have Fedora 28 and lots of programs installed. I use a backup for my
> files, but I dread the day I have to start with a new computer and
> reinstall all my programs.
> Is it possible to create a copy of everything, my Fedora 28 operating
> system, all the programs, all the nifty Firefox plug-ins, all my Favorites
> -- everything? So if this hard drive died and I needed to get a new laptop,
> I could copy over the entire contents of this computer without having to
> recreate it?
> If so, how would I do that?
> If I can't do that, how can I at least generate some kind of list of
> everything I have installed so I don't have to rack my brains trying to
> remember everything I had on this box?
> Thanks.
> --Nancy
> _______________________________________________
> Discuss mailing list
> Discuss at

John Abreau / Executive Director, Boston Linux & Unix
Email: abreauj at / WWW / PGP-Key-ID 0x920063C6
PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23  C2D0 E885 E17C 9200 63C6

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /