TAR backup page "Immutable Page"

Bug #1705075 reported by bodhi.zazen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Documentation
Invalid
Undecided
Unassigned

Bug Description

Linky - https://help.ubuntu.com/community/BackupYourSystem/TAR

Would like to update the TAR command to add --excludes, both mandatory (IMO) and optional

The tar command , as is , will fail

See https://askubuntu.com/questions/936307/copy-all-files-in-one-partition-to-a-folder-in-another-partition-and-update-symb/936737

I would add:

1. TAR BACKUP really should be done from a live CD or it is subject to interruption - See the comment

" It bombs half way through showing: /lib/plymouth/themes/ /lib/plymouth/themes/ubuntu-text/ tar: /: file changed as we read it after 10 minutes on a mini-PCIe SSD (Sata II channel). This will take some time to fine tune... – WinEunuuchs2Unix yesterday"

2. IMO manditory excludes are

--exclude=/proc \
--exclude=/tmp \
--exclude=/mnt \
--exclude=/dev \
--exclude=/sys \

3. IMO optional excludes are (reasoning in askubuntu answer and can be added to wiki page):

--exclude=/var/log \
--exclude=/var/cache/apt/archives
--exclude=/home/*/.cache \
--exclude=/usr/src/linux-headers* \
--exclude=/home/*/.local/share/Trash \
--exclude=/media \
--exclude=/run \

4. In addition to cleaning trash, users may want to clear ~/.cache and apt-get clean

If I can have permissions to edit the page I can do it myself, otherwise it really needs some testing and cleanup.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Please note that the page in question is a wiki page which anybody can
edit - including you. ;-)
https://help.ubuntu.com/community/WikiGuide
Since you seem to know how it should be changed, it would be great if
you could fix it.

If you are not already a member of the ~ubuntu-wiki-editors team:
When applying to join, please also contact the team admins referencing
this bug number and how you plan on improving the wiki page and they
will review your request to add you to the team.

Due to the nature of the community help wiki, you can't request changes
to it in the form of bug reports.

Changed in ubuntu-docs:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.