~case/dbns

ref: 8d4e48ff40e5c7d5c381367c88234b27be11873f dbns/scripts/backup.sh -rwxr-xr-x 188 bytes
8d4e48ffcase kaio fix from tyler and restart 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
BACKUP_DIR=/var/dbns/backup
if [ ! -d $BACKUP_DIR ]; then
    doas mkdir -p $BACKUP_DIR
fi		
	
cd /var/dbns/player && doas tar czf $BACKUP_DIR/$(date +%Y%m%d-%H%M%S).tar.gz .