Run this command from the terminal just by copy/pasting it and then share the output.
tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
Last edited:
tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
Run this command from the terminal just by copy/pasting it and then share the output.
tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz $HOME
This one I haven't tried I have tried this one yetIf you can't run that line without errors it means it's a permission problem, what happens when you run this as a normal user?
Can you you share the output of that? What you previously shared seems like you didn't directly copy/paste because I find it strange looking output.Code:tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz $HOME
If you can't run that line without errors it means it's a permission problem, what happens when you run this as a normal user?
Can you you share the output of that? What you previously shared seems like you didn't directly copy/paste because I find it strange looking output.Code:tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz $HOME
Lemme try this one
tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home &> /dev/null
echo $?
Let's try something different this is not helping, can you run the following as root and then share the output.
Code:tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home &> /dev/null echo $?
I made a type it should have been this.[root@localhost tabish]# tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz &> /dev/null
[root@localhost tabish]# echo $?
2
tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home &> /dev/null
echo $?
Same outputI made a type it should have been this.
Code:tar -cvpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home &> /dev/null echo $?
tar -cpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
Let's try it without verbose mode, run this as root and share the output.
Code:tar -cpzf /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
ls -la /home/tabish | grep .gvfs
This directory or file systeems to be the problem, can you share the output of this.
Code:ls -la /home/tabish | grep .gvfs
tar -cpzf --exclude=".gvfs" /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
Try running this now and share the output.
Code:tar -cpzf --exclude=".gvfs" /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
tar -cpzf --exclude=".gvfs" /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
No you made a type not - but = so that it looks like this.
tar -cpzf --exclude=/home/*/.gvfs /var/backup/3-Wed-20211103-fullbackup.tar.gz /home
Try this and share the output.
Code:tar -cpzf --exclude=/home/*/.gvfs /var/backup/3-Wed-20211103-fullbackup.tar.gz /home