Article 5P290 Why tar is failing to backup my home?

Why tar is failing to backup my home?

by
dedec0
from LinuxQuestions.org on (#5P290)
Look at this test, which show the error. I added a few commands before the key one, so you know the situation context:

Code:2021.09.01 18:28:43 [ 2] eu@compo: /home
$ alias du0; du0 eu/
alias du0='du -h --max-depth=0 -x'
749M eu/

2021.09.01 18:30:15 [ 0] eu@compo: ~
$ cd; cd ..

2021.09.01 18:31:22 [ 0] eu@compo: /home
$ df /var/tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system--vg-root 23G 12G 11G 54% /

2021.09.01 18:31:40 [ 0] eu@compo: /home
$ mkdir /var/tmp/eu

2021.09.01 18:32:00 [ 0] eu@compo: /home
$ tar cjf /var/tmp/eu/tudo,2021,09,01.tbz eu/
tar: eu/.gnupg/S.gpg-agent: socket ignored
tar: eu/.cache/tilda/locks/lock_32220_0: Cannot open: Permission denied
tar: Exiting with failure status due to previous errors

2021.09.01 18:56:43 [ 0] eu@compo: /home
$The error is repeatable. I did it several times: it always produces a file of the same size, with the same md5sum. I also tried to do give just "cf" to tar, instead of "cvjf" (my original command) or "cjf" (support suggestion).

Can you tell me what i should do, now? Possibly to finish this problem. I want to backup all my files from that computer, and storing them in a tar file is good, for what i should do with it.latest?d=yIl2AUoC8zA latest?i=w5kvU4wc774:K3WZvksoVCI:F7zBnMy latest?i=w5kvU4wc774:K3WZvksoVCI:V_sGLiP latest?d=qj6IDK7rITs latest?i=w5kvU4wc774:K3WZvksoVCI:gIN9vFww5kvU4wc774
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments