#4 chmod after creation of backup file

closed-accepted
nobody
None
5
2011-08-14
2005-01-12
No

Added the possibility to give a file permission code
for the backup files (advanced parameter 'PERM').

Backup files should be protected as good as possible,
so it defaults to '400'.

See attached file for the enhanced version.

Congratulations to the creator of this project - really
useful!!

Discussion

  • Stefan Rufer

    Stefan Rufer - 2005-01-22

    automysqlbackup.sh including chmod code

     
  • Stefan Rufer

    Stefan Rufer - 2005-04-08

    Logged In: YES
    user_id=663581

    It prooved to be useful to have the backup files belonging
    to a special group (e.g. "backup") in order to read them
    from a remote host without giving the reading process root
    rights (as the backup process may run as root).

    The additional code is included in the attacked file.

     
  • Stefan Rufer

    Stefan Rufer - 2005-04-08

    automysqlbackup.sh including chown code

     
  • PittaGurneyi

    PittaGurneyi - 2011-08-14

    Aside from the possibility to set umask in the new version 3.0_beta, you can just do what you want inside the file that executes automysqlbackup in the folder cron.daily. See the README of the new version.

     
  • PittaGurneyi

    PittaGurneyi - 2011-08-14
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks