Results 1 to 2 of 2

Thread: How to encrypt text file with gpg

  1. #1
    Join Date
    Feb 2008
    Location
    Sri Lanka
    Beans
    242
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question How to encrypt text file with gpg

    Hi, I am creating text files (.sql) backups using php.

    I need to to run gpg using php's system function and here's my requirement.

    1. pickup the .sql file (eg: bak.sql) and create an encrypted gpg file. I need to know how this is done without user intervention.

    2. delete the .sql file. But how do I know if the gpg operation has finished?

    Thank you!
    In the past I built solutions looking through a Window. But now I see how big the world is.

  2. #2
    Join Date
    Feb 2008
    Location
    Sri Lanka
    Beans
    242
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Arrow Re: How to encrypt text file with gpg

    Oh the .sql file is a product of mysqldump and it's on an Ubuntu server.
    In the past I built solutions looking through a Window. But now I see how big the world is.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •