Restore

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Restore

Post#1 by Ed_P » 09 Feb 2017, 06:46

If I make a backup module of some settings and changes using:

Code: Select all

cp -a --parents    /home/guest/.config/dconf/*                    /tmp/mod/
cp -a --parents    /home/guest/.cache/dconf/*                     /tmp/mod/
cp -a --parents    /home/guest/*                                  /tmp/mod/
cp -a --parents    /home/guest/.mozilla/plugins                   /tmp/mod/ 
Can I restore them later with something simple like:

Code: Select all

   mloop /mnt/sda6/porteus3.2/modsavedat/mychanges.xzm
   cp -a --parents  /mnt/loop/*                                  /
   uloop
Ed

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Restore

Post#2 by tome » 09 Feb 2017, 17:31

You can restore them later with something simple like, e.g:

Code: Select all

cp -a /mnt/loop/* /
You have mind and feelings. Be wise and clever.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Restore

Post#3 by Ed_P » 10 Feb 2017, 17:40

tome wrote:You can restore them later with something simple like, e.g:

Code: Select all

cp -a /mnt/loop/* /
Yup. :good: That worked perfectly tome. Thank you. :beer:

Unfortunately now I'm faced with the "Cinnamon has crashed" error. :evil:
Ed

Post Reply