All shebangs set to /bin/bash.
This commit is contained in:
parent
10a676fe6c
commit
609b95e105
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Copy essential binaries into the chroot.
|
||||
|
||||
chrootdir=$1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Update all OpenSSH chroot.
|
||||
|
||||
BACKUP_PATH='/backup/jails'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Handles creating incrementals backup.
|
||||
|
||||
. /etc/evobackup/conf.d/incrementals.cf
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Handle removing of incrementals.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# EvoBackup cronjob.
|
||||
|
||||
. /etc/evobackup/conf.d/cron.cf
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Install EvoBackup configuration and init files.
|
||||
|
||||
# Debian or Ubuntu?
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Prerequisites actions to do.
|
||||
|
||||
test ! -d /home/backup && mkdir /home/backup
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Many ways of backuping MySQL/MariaDB databases.
|
||||
|
||||
# Dump with all databases in one file.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# PostgreSQL Dump
|
||||
|
||||
# su - postgres -c "pg_dumpall > ~/pg.dump.bak"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Dump Redis
|
||||
|
||||
# cp /var/lib/redis/dump.rdb /home/backup/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Dump MongoDB
|
||||
|
||||
# mongodump -u mongobackup -pPASS -o /home/backup/mongodump/ >/dev/null 2>&1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Dump LDAP
|
||||
|
||||
# slapcat -l /home/backup/ldap.bak
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Get system informations.
|
||||
# Dependency: dd, sfdisk, mtr, traceroute, ps, netstat, dpkg
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: evobackup
|
||||
|
|
Loading…
Reference in a new issue