Jump to content
  • Sign Up
Sign in to follow this  

Ajuda Script de backup

Recommended Posts

Estou criando um script de backup via shell e gostaria da ajuda dos amigos para que os full backups criados pelo comando  /scripts/pkgacct  ficassem com o seguinte nome: 

  • backup-{data-hora}_{nome_do_usuario}.tar.gz

Agradeço desde já a ajuda

Share this post

Link to post
Share on other sites

Acho que deve passar o parâmetro userbackup ou backup

Tente esses comandos:

/scripts/pkgacct <nome_de_usuario> "" userbackup
/scripts/pkgacct <nome_de_usuario> /home backup


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...