Simple tar command
Hello,
Just a simple question about tar.
We have a filesystem,
/
/boot
/usr/users
In order to take the backup of these filesystems, we connected USB drive and mounted under /usb.
Then to get the root backup , I used
tar -cvf root.tar /
And it showed as after few minutes it was taking the backup of /usb contents as well.
Oooops something not expected. Is it a normal behaviour , or we are missing some option here?
How do we avoid this.
In short how do we take the complete filesystem backup excluding specific filesystems?
Please suggest.
Thanks,
|