Hello
I am trying to make a backup of home as described here https://www.raspberrypi.org/documentati ... /backup.md
using the tar command but I keep getting this error message
tar (child): pi_home.tar.gz: Cannot open: Permission denied
tar (child): Error is not recoverable: exiting now
I want to back this up to do a fresh install of NOOBS on a bigger SD card and then restore the backup.
Thanks.
-
- Posts: 33
- Joined: Sat Dec 26, 2015 2:36 pm
Re: Backup using tar
You need supervisor privileges to do it. That is achieved by adding the word "sudo",
Code: Select all
cd /home/
sudo tar czf pi_home.tar.gz pi
Re: Backup using tar
I have reported this as an Issue for the Documentation maintainers: https://github.com/raspberrypi/documentation/issues/299
-
- Posts: 33
- Joined: Sat Dec 26, 2015 2:36 pm
Re: Backup using tar
Thank you. I'll do that later.