BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Backing up the entire software installation
- Subject: [Discuss] Backing up the entire software installation
- From: abreauj at gmail.com (John Abreau)
- Date: Thu, 25 Oct 2018 00:13:25 -0400
- In-reply-to: <CAPnB49Fca+-AdFDF0WHz6Mo5Qght98e9JJ17m-iYz-A4P1XL1A@mail.gmail.com>
- References: <CAPnB49Fca+-AdFDF0WHz6Mo5Qght98e9JJ17m-iYz-A4P1XL1A@mail.gmail.com>
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 /srv/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 /srv/www instead of /srv/www, I also
back up /srv/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 gmail.com> 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 blu.org
> http://lists.blu.org/mailman/listinfo/discuss
--
John Abreau / Executive Director, Boston Linux & Unix
Email: abreauj at gmail.com / WWW http://www.abreau.net / PGP-Key-ID 0x920063C6
PGP-Key-Fingerprint A5AD 6BE1 FEFE 8E4F 5C23 C2D0 E885 E17C 9200 63C6
- References:
- [Discuss] Backing up the entire software installation
- From: nancythewriter7 at gmail.com (Nancy Allison)
- [Discuss] Backing up the entire software installation
- Prev by Date: [Discuss] Backing up the entire software installation
- Next by Date: [Discuss] Backing up the entire software installation
- Previous by thread: [Discuss] Backing up the entire software installation
- Next by thread: [Discuss] Backing up the entire software installation
- Index(es):
