higuita
2015-03-04 02:47:01 UTC
Hi
I love backuppc, is very flexible and works very well... but i
miss one feature: Exec backup type
I want to execute a remote script to do a backup. The backup will
not be store in backuppc, so all i need is to execute a script and save
the status and the script log.
Right now i workaround with tar, i replace the tar command
with a script that will execute my command and then tars the log, so
backuppc can see the backup status and a user can checkout the log.
It works, but is a pain to have to play with tar command, the full
and incremental options to do what i need.
A simple ssh $host $script $options would be perfect, where
the $options get their parameters from the full and incremental
backup. Restore could also be a script. The script status code and
stdout and stderr should be captured and logged by backuppc. No files
are transfered to backuppc, so the size for this type of backups could
always be zero in the status (or show it inside a [], to flag a remote
backup)
With this, one could use backuppc as the only interface for
all backups. This is useful specially on remote machines with very slow
network, where one must backup to a local HD/NAS. This could also open the
door for user to use tapes, dvd burners and interact with other backup
softwares
Please consider adding this.
Best regards,
higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
I love backuppc, is very flexible and works very well... but i
miss one feature: Exec backup type
I want to execute a remote script to do a backup. The backup will
not be store in backuppc, so all i need is to execute a script and save
the status and the script log.
Right now i workaround with tar, i replace the tar command
with a script that will execute my command and then tars the log, so
backuppc can see the backup status and a user can checkout the log.
It works, but is a pain to have to play with tar command, the full
and incremental options to do what i need.
A simple ssh $host $script $options would be perfect, where
the $options get their parameters from the full and incremental
backup. Restore could also be a script. The script status code and
stdout and stderr should be captured and logged by backuppc. No files
are transfered to backuppc, so the size for this type of backups could
always be zero in the status (or show it inside a [], to flag a remote
backup)
With this, one could use backuppc as the only interface for
all backups. This is useful specially on remote machines with very slow
network, where one must backup to a local HD/NAS. This could also open the
door for user to use tapes, dvd burners and interact with other backup
softwares
Please consider adding this.
Best regards,
higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946