mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
11 lines
249 B
Bash
Executable file
11 lines
249 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
. /usr/share/yunohost/helpers.d/filesystem
|
|
|
|
for f in $(find /home/* -type d -prune | awk -F/ '{print $NF}'); do
|
|
if [[ ! "$f" =~ ^yunohost|lost\+found ]]; then
|
|
ynh_backup "/home/$f" "${1}/data/home/$f" 1
|
|
fi
|
|
done
|