SSHScript - Simplifying Linux (Web Hosting) Backups

SSHScript - Simplifying Linux (Web Hosting) Backups

How to Use

  1. Run the program.
  2. Click the File button, fill out the tasks as shown below and save it.
    (If you have multiple accounts, just repeat the process.)

    # Connect to the account to create a backup file.
    ssh://{username}:{password}@{ip}:{port}
    # Navigate to the location of the file you want to back up.
    cd {path}
    # Bundle and compress the files. Enter {date} to include the date.
    tar cvfz {username}.{date}.tar.gz .
    # Back up the data.
    mysqldump -u{username} -p{password} {username} > {username}.{date}.sql
    # Once the backup file is created, definitely type exit.
    exit
    
    
    # Connect to the account via SFTP to download the backup file.
    ftp://{username}:{password}@{ip}:{port}
    # Navigate to the location of the backup files.
    cd {path}
    # Download the files.
    get {username}.{date}.tar.gz
    get {username}.{date}.sql
    # Delete the backups from the account.
    rm {username}.{date}.tar.gz
    rm {username}.{date}.sql
    # Since the task is done, type exit.
    exit
    
  3. Click the RUN button to execute.

Download

Thoughts

  • As someone who have used Nayana web hosting and faced issues,
    I realized the importance of backups and created this tool. 😢

Comments (4)

Leave a Reply

이메일 주소는 공개되지 않습니다. (* 질문, 건의사항 등은 "질문게시판"을 이용해주세요)