Falta de Ubuntu 12.04 sbackupd

Acabo de actualizar desde Ubuntu 10.04 a Ubuntu 12.04 y sbackupd se ha ido completamente. Solía ​​llamar a sbackupd de dos trabajos cron /etc/cron.d/sbackup1 y /etc/cron.d/sbackup2 como raíz con routes de configuration personalizadas en Ubuntu 10.04. ¿Se ha renombrado sbackupd a otra cosa? Además, si ejecuto sbackup script autónomo como un usuario normal, se negará a la copy de security raíz propietarios dirs (ie /etc ) ¿Cuál es la alternativa?

Solo dbus-launch por session antes de llamar a sbackup en su trabajo cron como root. Aquí está mi solución completa para get sbackup trabajando con files de configuration personalizada como un cronjob raíz. (Tengo 2 cronjobs sbackup diarios progtwigdos en diferentes momentos a diferentes unidades externas) A continuación se enumeran los 3 files relevantes a uno de los cronjobs de copy de security.

Bash script para iniciar la session de shell dbus

 ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi # "/ home / dtoader / Mis documentos / linux / copys de security / launchDbus.sh" ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi if testing -z "$ DBUS_SESSION_BUS_ADDRESS"; ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi ## si no se encuentra, inicie una nueva ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi eval `dbus-launch --sh-syntax --exit-with-session` ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi echo "La dirección del daemon por session de D-Bus es: $ DBUS_SESSION_BUS_ADDRESS" ########################################################## # "/home/dtoader/My Documents/linux/backups/launchDbus.sh" ########################################################## #!/bin/bash if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then ## if not found, launch a new one eval `dbus-launch --sh-syntax --exit-with-session` echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" fi 

Mi file sbackup.conf personalizado

 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> # "/ home / dtoader / Mis documentos / linux / backups / sbackup500.conf" ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> maxincremento = 1 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> format = 1 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> followlinks = 0 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> target = / home / backup500 / files ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> purga = 5 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> mountdir = /home/dtoader/.local/share/sbackup/mountdir500 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> lockfile = /var/lock/sbackup/sbackup500.lock ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> splitsize = 0 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> regex = \ .xxxxxxxxxx ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> maxsize = 9999220736 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> level = 20 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> file = /home/dtoader/.local/share/sbackup/log/sbackup500.log ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> [lugares] ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> [dirconfig] ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> / home / dtoader = 1 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> / root = 1 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> / etc = 1 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> / home / backup501 = 0 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> / home / backup500 = 0 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> /home/dtoader/.pulse = 0 ########################################################## # "/home/dtoader/My Documents/linux/backups/sbackup500.conf" ########################################################## [general] maxincrement = 1 format = 1 followlinks = 0 target = /home/backup500/files purge = 5 mountdir = /home/dtoader/.local/share/sbackup/mountdir500 lockfile = /var/lock/sbackup/sbackup500.lock splitsize = 0 [exclude] regex = \.xxxxxxxxxx maxsize = 9999220736 [log] level = 20 file = /home/dtoader/.local/share/sbackup/log/sbackup500.log [places] prefix = /usr [schedule] [dirconfig] /home/dtoader = 1 /root = 1 /etc = 1 /home/backup501 = 0 /home/backup500 = 0 /home/dtoader/.pulse = 0 [report] from = SBackup Daemon <None@dtoader-desktop.ext> 

Mi file cronjob

 ########################################################## #"/etc/cron.d/sbackup500" ########################################################## # /etc/cron.d/sbackup500 # At 12 PM every day # mh dom mon dow user command 0 12 * * * root "/home/dtoader/My Documents/linux/backups/launchDbus.sh"; /usr/bin/sbackup --no-indicator --no-dbus --conf="/home/dtoader/My Documents/linux/backups/sbackup500.conf" # "/ etc / cron.d / sbackup500" ########################################################## #"/etc/cron.d/sbackup500" ########################################################## # /etc/cron.d/sbackup500 # At 12 PM every day # mh dom mon dow user command 0 12 * * * root "/home/dtoader/My Documents/linux/backups/launchDbus.sh"; /usr/bin/sbackup --no-indicator --no-dbus --conf="/home/dtoader/My Documents/linux/backups/sbackup500.conf" # /etc/cron.d/sbackup500 ########################################################## #"/etc/cron.d/sbackup500" ########################################################## # /etc/cron.d/sbackup500 # At 12 PM every day # mh dom mon dow user command 0 12 * * * root "/home/dtoader/My Documents/linux/backups/launchDbus.sh"; /usr/bin/sbackup --no-indicator --no-dbus --conf="/home/dtoader/My Documents/linux/backups/sbackup500.conf" A las 12 de la tarde todos los días ########################################################## #"/etc/cron.d/sbackup500" ########################################################## # /etc/cron.d/sbackup500 # At 12 PM every day # mh dom mon dow user command 0 12 * * * root "/home/dtoader/My Documents/linux/backups/launchDbus.sh"; /usr/bin/sbackup --no-indicator --no-dbus --conf="/home/dtoader/My Documents/linux/backups/sbackup500.conf"