mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-11-04 11:45:39 +00:00
Set user data backup path variable
This commit is contained in:
1 parent
931e27817b
commit
aca1918b1a
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -66,5 +66,5 @@ remove_user()
|
||||
backup_user_data()
|
||||
{
|
||||
echo "Archiving home dir..."
|
||||
sudo tar cfz /root/backups/$1.tgz /home/$1
|
||||
sudo tar cfz $BACKUP_USER_DATA/$1.tgz /home/$1
|
||||
}
|
||||
Reference in new issue
Block a user