Forum

Thread tagged as: Question

File 'backup/backup.sql' does not exist [code -4]

Hi,

I am getting the aforementioned error code.

I looked for a solution but if anyone knows anything it would be appreciated.

Thank you

Garth Holmes

Garth Holmes 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Where and when do you get that?

Hi Drew,

I get the message from the Apps dropdown, when I click on the Backup App

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostics report?

Redacted:

Perch: 2.8.32
Production mode: (PERCH_DEVELOPMENT)
Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_backup (1.2)
DB driver: PDO
DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (2411), perch2_content_items (526), perch2_content_regions (65), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (31), perch2_resource_log (251), perch2_resource_tags (0), perch2_resources (63), perch2_resources_to_tags (0), perch2_settings (11), perch2_user_passwords (0), perch2_user_privileges (28), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (2)
Users: 2
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
    );
Editor plug-ins: ace
H1: c2363991e8aa08dce658fe7b42dd9f96
L1: 8da62c38261037789cd5262544577b63
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.31: done
latest_version: 2.8.15
on_sale_version: 2.8.32
update_2.8.32: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: 
PERCH_DB_USERNAME: 
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Australia/Sydney
PERCH_EMAIL_FROM:
PERCH_EMAIL_FROM_NAME:
PERCH_LOGINPATH: /perch
PERCH_PATH: 
PERCH_CORE: 
PERCH_RESFILEPATH: 
PERCH_RESPATH: /images
PERCH_HTML5: 1
PERCH_DEBUG:
PERCH_PRODUCTION_MODE: PERCH_DEVELOPMENT
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS

PHP: 7.0.12
Zend: 3.0.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: 5.6.33
MySQL server: 5.6.33
Free disk space: 391.92 GB
Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, bcmath, dom, fileinfo, gd, imap, intl, json, exif, mcrypt, mysqli, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, soap, sockets, tidy, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip
GD: Yes
ImageMagick: No
PHP max upload size: 8M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch, br
HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.8
HTTP_COOKIE: _ga=GA1.3.1484652858.1477519860; cmsa=1; PHPSESSID=83k0godfm56lft636e6qckjoa5
HTTP_HOST: 
HTTP_REFERER: 
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_DNT: 1
DOCUMENT_ROOT: 
REMOTE_ADDR: 59.167.232.140
REMOTE_PORT: 49400
SERVER_ADDR: 103.252.154.19
SERVER_NAME: 
SERVER_ADMIN: 
SERVER_PORT: 443
REQUEST_URI: /perch/core/settings/diagnostics/?extended
HTTPS: on
REDIRECT_STATUS: 200
X_SPDY: HTTP2
SSL_PROTOCOL: TLSv1.2
SSL_SESSION_ID: 43276a97428b603daeffe97507562578aa544274f1113c28a6e02ad53d4f8978
SSL_CIPHER: ECDHE-RSA-AES128-GCM-SHA256
SSL_CIPHER_USEKEYSIZE: 128
SSL_CIPHER_ALGKEYSIZE: 128
SCRIPT_FILENAME: 
QUERY_STRING: extended
SCRIPT_URI: 
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: LiteSpeed
REQUEST_METHOD: GET
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1477607736.2122
REQUEST_TIME: 1477607736
Drew McLellan

Drew McLellan 2638 points
Perch Support

And that message is all you get? You don't see the form or have any opportunity to create a backup?

No Drew, I don't.

The message occurs when I click the backup button for any backup type, although it is shown that my server supports all backup types.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you set the path to mysqldump on the Settings page?