WP-DB-Backup - Version 2.1.5

Version Description

Download this release

Release Info

Developer filosofo
Plugin Icon 128x128 WP-DB-Backup
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

Files changed (3) hide show
  1. readme.txt +2 -2
  2. wp-db-backup.php +91 -44
  3. wp-db-backup.po +81 -75
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: filosofo, skippy, Firas, LaughingLizard, MtDewVirus, Podz, Ringmas
3
  Donate link: http://www.ilfilosofo.com/blog/wp-db-backup/
4
  Tags: mysql, database, backup, cron
5
  Requires at least: 2.0.3
6
- Tested up to: 2.3
7
- Stable tag: 2.1.4
8
 
9
  On-demand backup of your WordPress database.
10
 
3
  Donate link: http://www.ilfilosofo.com/blog/wp-db-backup/
4
  Tags: mysql, database, backup, cron
5
  Requires at least: 2.0.3
6
+ Tested up to: 2.6
7
+ Stable tag: 2.1.5
8
 
9
  On-demand backup of your WordPress database.
10
 
wp-db-backup.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ilfilosofo.com/blog/wp-db-backup
5
  Description: On-demand backup of your WordPress database. Navigate to <a href="edit.php?page=wp-db-backup">Manage &rarr; Backup</a> to get started.
6
  Author: Austin Matzko
7
  Author URI: http://www.ilfilosofo.com/blog/
8
- Version: 2.1.4
9
 
10
  Development continued from that done by Skippy (http://www.skippy.net/)
11
 
@@ -61,7 +61,7 @@ class wpdbBackup {
61
  var $basename;
62
  var $page_url;
63
  var $referer_check_key;
64
- var $useMailer = false;
65
 
66
  function gzip() {
67
  return function_exists('gzopen');
@@ -81,7 +81,6 @@ class wpdbBackup {
81
  function wpdbBackup() {
82
  global $table_prefix, $wpdb;
83
  add_action('init', array(&$this, 'init_textdomain'));
84
- add_action('phpmailer_init', array(&$this, 'setup_phpmailer'));
85
  add_action('wp_db_backup_cron', array(&$this, 'cron_backup'));
86
  add_action('wp_cron_daily', array(&$this, 'wp_cron_daily'));
87
  add_filter('cron_schedules', array(&$this, 'add_sched_options'));
@@ -666,54 +665,75 @@ class wpdbBackup {
666
  } //wp_db_backup
667
 
668
  /**
669
- * Sets up the attachment to work with phpmailer, which appears in WP 2.2+
 
 
 
670
  * @return bool
671
  */
672
- function setup_phpmailer(&$phpmailer) {
673
- if ( $this->useMailer ) :
674
- if ( empty( $phpmailer->CharSet ) ) {
675
- $phpmailer->CharSet = apply_filters( 'wp_mail_charset', get_bloginfo('charset') );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
676
  }
 
 
 
 
 
 
 
 
 
677
  $phpmailer->ClearCustomHeaders();
678
- $phpmailer->AddAttachment($this->diskfile, $this->filename);
679
- $phpmailer->Body = $this->message;
680
- endif;
681
- return true;
682
- }
683
 
684
- function deliver_backup($filename = '', $delivery = 'http', $recipient = '') {
685
- if ('' == $filename) { return false; }
686
-
687
- $this->diskfile = ABSPATH . $this->backup_dir . $filename;
688
- $this->filename = $filename;
689
- if ('http' == $delivery) {
690
- if (! file_exists($this->diskfile))
691
- $this->error(array('kind' => 'fatal', 'msg' => sprintf(__('File not found:%s','wp-db-backup'), "&nbsp;<strong>$filename</strong><br />") . '<br /><a href="' . $this->page_url . '">' . __('Return to Backup','wp-db-backup') . '</a>'));
692
- header('Content-Description: File Transfer');
693
- header('Content-Type: application/octet-stream');
694
- header('Content-Length: ' . filesize($this->diskfile));
695
- header("Content-Disposition: attachment; filename=$filename");
696
- $success = readfile($this->diskfile);
697
- unlink($this->diskfile);
698
- } elseif ('smtp' == $delivery) {
699
- if (! file_exists($this->diskfile)) return false;
700
 
701
- if (! is_email ($recipient)) {
702
- $recipient = get_option('admin_email');
703
- }
704
  $randomish = md5(time());
705
- $boundary = "==WPBACKUP-BY-SKIPPY-$randomish";
706
- $fp = fopen($this->diskfile,"rb");
707
- $file = fread($fp,filesize($this->diskfile));
708
  $this->close($fp);
 
709
  $data = chunk_split(base64_encode($file));
710
- $headers = "MIME-Version: 1.0\n";
711
- $headers .= "Content-Type: multipart/mixed; \nboundary=\"$boundary\"\n";
712
- $headers .= 'From: ' . get_option('admin_email') . "\n";
 
713
 
714
- $this->message = $message = sprintf(__("Attached to this email is\n %1s\n Size:%2s kilobytes\n",'wp-db-backup'), $filename, round(filesize($this->diskfile)/1024));
715
  // Add a multipart boundary above the plain message
716
- $message .= "This is a multi-part message in MIME format.\n\n" .
717
  "--{$boundary}\n" .
718
  "Content-Type: text/plain; charset=\"" . get_bloginfo('charset') . "\"\n" .
719
  "Content-Transfer-Encoding: 7bit\n\n" .
@@ -729,16 +749,43 @@ class wpdbBackup {
729
  $data . "\n\n" .
730
  "--{$boundary}--\n";
731
 
732
- $this->useMailer = true;
733
- $success = @wp_mail($recipient, get_bloginfo('name') . ' ' . __('Database Backup','wp-db-backup'), $message, $headers);
734
- $this->useMailer = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
735
 
736
  if ( false == $success ) {
737
  $msg = __('The following errors were reported:','wp-db-backup') . "\n ";
738
  $msg = ( function_exists('error_get_last') ) ? error_get_last('message') : __('ERROR: The mail application has failed to deliver the backup.','wp-db-backup');
739
  $this->error($msg);
740
  } else {
741
- unlink($this->diskfile);
742
  }
743
  }
744
  return $success;
5
  Description: On-demand backup of your WordPress database. Navigate to <a href="edit.php?page=wp-db-backup">Manage &rarr; Backup</a> to get started.
6
  Author: Austin Matzko
7
  Author URI: http://www.ilfilosofo.com/blog/
8
+ Version: 2.1.5
9
 
10
  Development continued from that done by Skippy (http://www.skippy.net/)
11
 
61
  var $basename;
62
  var $page_url;
63
  var $referer_check_key;
64
+ var $version = '2.1.5-alpha';
65
 
66
  function gzip() {
67
  return function_exists('gzopen');
81
  function wpdbBackup() {
82
  global $table_prefix, $wpdb;
83
  add_action('init', array(&$this, 'init_textdomain'));
 
84
  add_action('wp_db_backup_cron', array(&$this, 'cron_backup'));
85
  add_action('wp_cron_daily', array(&$this, 'wp_cron_daily'));
86
  add_filter('cron_schedules', array(&$this, 'add_sched_options'));
665
  } //wp_db_backup
666
 
667
  /**
668
+ * Sends the backed-up file via email
669
+ * @param string $to
670
+ * @param string $subject
671
+ * @param string $message
672
  * @return bool
673
  */
674
+ function send_mail( $to, $subject, $message, $diskfile ) {
675
+ global $phpmailer;
676
+
677
+ $filename = basename($diskfile);
678
+
679
+ extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message' ) ) );
680
+
681
+ if ( !is_object( $phpmailer ) || ( strtolower(get_class( $phpmailer )) != 'phpmailer' ) ) {
682
+ if ( file_exists( ABSPATH . WPINC . '/class-phpmailer.php' ) )
683
+ require_once ABSPATH . WPINC . '/class-phpmailer.php';
684
+ if ( file_exists( ABSPATH . WPINC . '/class-smtp.php' ) )
685
+ require_once ABSPATH . WPINC . '/class-smtp.php';
686
+ if ( class_exists( 'PHPMailer') )
687
+ $phpmailer = new PHPMailer();
688
+ }
689
+
690
+ // try to use phpmailer directly (WP 2.2+)
691
+ if ( is_object( $phpmailer ) && ( strtolower(get_class( $phpmailer )) == 'phpmailer' ) ) {
692
+
693
+ // Get the site domain and get rid of www.
694
+ $sitename = strtolower( $_SERVER['SERVER_NAME'] );
695
+ if ( substr( $sitename, 0, 4 ) == 'www.' ) {
696
+ $sitename = substr( $sitename, 4 );
697
  }
698
+ $from_email = 'wordpress@' . $sitename;
699
+ $from_name = 'WordPress';
700
+
701
+ // Empty out the values that may be set
702
+ $phpmailer->ClearAddresses();
703
+ $phpmailer->ClearAllRecipients();
704
+ $phpmailer->ClearAttachments();
705
+ $phpmailer->ClearBCCs();
706
+ $phpmailer->ClearCCs();
707
  $phpmailer->ClearCustomHeaders();
708
+ $phpmailer->ClearReplyTos();
 
 
 
 
709
 
710
+ $phpmailer->AddAddress( $to );
711
+ $phpmailer->AddAttachment($diskfile, $filename);
712
+ $phpmailer->Body = $message;
713
+ $phpmailer->CharSet = apply_filters( 'wp_mail_charset', get_bloginfo('charset') );
714
+ $phpmailer->From = apply_filters( 'wp_mail_from', $from_email );
715
+ $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
716
+ $phpmailer->IsMail();
717
+ $phpmailer->Subject = $subject;
718
+
719
+ $result = @$phpmailer->Send();
 
 
 
 
 
 
720
 
721
+ // old-style: build the headers directly
722
+ } else {
 
723
  $randomish = md5(time());
724
+ $boundary = "==WPBACKUP-$randomish";
725
+ $fp = fopen($diskfile,"rb");
726
+ $file = fread($fp,filesize($diskfile));
727
  $this->close($fp);
728
+
729
  $data = chunk_split(base64_encode($file));
730
+
731
+ $headers .= "MIME-Version: 1.0\n";
732
+ $headers = 'From: wordpress@' . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME'])) . "\n";
733
+ $headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"\n";
734
 
 
735
  // Add a multipart boundary above the plain message
736
+ $message = "This is a multi-part message in MIME format.\n\n" .
737
  "--{$boundary}\n" .
738
  "Content-Type: text/plain; charset=\"" . get_bloginfo('charset') . "\"\n" .
739
  "Content-Transfer-Encoding: 7bit\n\n" .
749
  $data . "\n\n" .
750
  "--{$boundary}--\n";
751
 
752
+ $result = @wp_mail($to, $subject, $message, $headers);
753
+ }
754
+ return $result;
755
+
756
+ }
757
+
758
+ function deliver_backup($filename = '', $delivery = 'http', $recipient = '') {
759
+ if ('' == $filename) { return false; }
760
+
761
+ $diskfile = ABSPATH . $this->backup_dir . $filename;
762
+ if ('http' == $delivery) {
763
+ if (! file_exists($diskfile))
764
+ $this->error(array('kind' => 'fatal', 'msg' => sprintf(__('File not found:%s','wp-db-backup'), "&nbsp;<strong>$filename</strong><br />") . '<br /><a href="' . $this->page_url . '">' . __('Return to Backup','wp-db-backup') . '</a>'));
765
+ header('Content-Description: File Transfer');
766
+ header('Content-Type: application/octet-stream');
767
+ header('Content-Length: ' . filesize($diskfile));
768
+ header("Content-Disposition: attachment; filename=$filename");
769
+ $success = readfile($diskfile);
770
+ unlink($diskfile);
771
+ } elseif ('smtp' == $delivery) {
772
+ if (! file_exists($diskfile)) {
773
+ $msg = sprintf(__('File %s does not exist!','wp-db-backup'), $diskfile);
774
+ $this->error($msg);
775
+ return false;
776
+ }
777
+ if (! is_email($recipient)) {
778
+ $recipient = get_option('admin_email');
779
+ }
780
+ $message = sprintf(__("Attached to this email is\n %1s\n Size:%2s kilobytes\n",'wp-db-backup'), $filename, round(filesize($diskfile)/1024));
781
+ $success = $this->send_mail($recipient, get_bloginfo('name') . ' ' . __('Database Backup','wp-db-backup'), $message, $diskfile);
782
 
783
  if ( false == $success ) {
784
  $msg = __('The following errors were reported:','wp-db-backup') . "\n ";
785
  $msg = ( function_exists('error_get_last') ) ? error_get_last('message') : __('ERROR: The mail application has failed to deliver the backup.','wp-db-backup');
786
  $this->error($msg);
787
  } else {
788
+ unlink($diskfile);
789
  }
790
  }
791
  return $success;
wp-db-backup.po CHANGED
@@ -1,3 +1,4 @@
 
1
  # Copyright (C) 2007 Austin Matzko
2
  # This file is distributed under the GPL 2 license.
3
  #
@@ -5,172 +6,177 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: PACKAGE VERSION\n"
7
  "Report-Msgid-Bugs-To: \n"
8
- "POT-Creation-Date: 2007-09-25 02:01-0400\n"
9
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
  "Last-Translator: Austin Matzko if.website at gmail.com\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=CHARSET\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
 
15
- #: wp-db-backup.php:163
16
  msgid "Backup Complete!"
17
  msgstr ""
18
 
19
- #: wp-db-backup.php:192 wp-db-backup.php:387 wp-db-backup.php:391
20
- #: wp-db-backup.php:849 wp-db-backup.php:890
21
  msgid "Backup"
22
  msgstr ""
23
 
24
- #: wp-db-backup.php:193
25
  msgid "Progress"
26
  msgstr ""
27
 
28
- #: wp-db-backup.php:195
29
  msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
30
  msgstr ""
31
 
32
- #: wp-db-backup.php:198
33
  msgid "Close this browser"
34
  msgstr ""
35
 
36
- #: wp-db-backup.php:199
37
  msgid "Reload this page"
38
  msgstr ""
39
 
40
- #: wp-db-backup.php:200
41
  msgid "Click the Stop or Back buttons in your browser"
42
  msgstr ""
43
 
44
- #: wp-db-backup.php:202
45
  msgid "Progress:"
46
  msgstr ""
47
 
48
- #: wp-db-backup.php:244
49
  #, php-format
50
  msgid ""
51
  "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
52
  msgstr ""
53
 
54
- #: wp-db-backup.php:250
55
  #, php-format
56
  msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
57
  msgstr ""
58
 
59
- #: wp-db-backup.php:256
60
  #, php-format
61
  msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
62
  msgstr ""
63
 
64
- #: wp-db-backup.php:313
65
  msgid "Creating backup file..."
66
  msgstr ""
67
 
68
- #: wp-db-backup.php:316
69
  #, php-format
70
  msgid "Finished backing up table \\\"%s\\\"."
71
  msgstr ""
72
 
73
- #: wp-db-backup.php:318
74
  #, php-format
75
  msgid "Backing up table \\\"%s\\\"..."
76
  msgstr ""
77
 
78
- #: wp-db-backup.php:325 wp-db-backup.php:630
79
  msgid "Could not open the backup file for writing!"
80
  msgstr ""
81
 
82
- #: wp-db-backup.php:326
83
  msgid ""
84
  "The backup file could not be saved. Please check the permissions for "
85
  "writing to your backup directory and try again."
86
  msgstr ""
87
 
88
- #: wp-db-backup.php:331 wp-db-backup.php:639
89
  msgid "WordPress MySQL database backup"
90
  msgstr ""
91
 
92
- #: wp-db-backup.php:333 wp-db-backup.php:641
93
  #, php-format
94
  msgid "Generated: %s"
95
  msgstr ""
96
 
97
- #: wp-db-backup.php:334 wp-db-backup.php:642
98
  #, php-format
99
  msgid "Hostname: %s"
100
  msgstr ""
101
 
102
- #: wp-db-backup.php:335 wp-db-backup.php:643
103
  #, php-format
104
  msgid "Database: %s"
105
  msgstr ""
106
 
107
- #: wp-db-backup.php:343 wp-db-backup.php:656
108
  #, php-format
109
  msgid "Table: %s"
110
  msgstr ""
111
 
112
- #: wp-db-backup.php:350
113
  msgid ""
114
  "The backup directory is not writeable! Please check the permissions for "
115
  "writing to your backup directory and try again."
116
  msgstr ""
117
 
118
- #: wp-db-backup.php:446 wp-db-backup.php:449
119
  msgid "There was an error writing a line to the backup script:"
120
  msgstr ""
121
 
122
- #: wp-db-backup.php:481
123
  msgid "Subsequent errors have been omitted from this log."
124
  msgstr ""
125
 
126
- #: wp-db-backup.php:515
127
  msgid "Error getting table details"
128
  msgstr ""
129
 
130
- #: wp-db-backup.php:523
131
  #, php-format
132
  msgid "Delete any existing table %s"
133
  msgstr ""
134
 
135
- #: wp-db-backup.php:532
136
  #, php-format
137
  msgid "Table structure of table %s"
138
  msgstr ""
139
 
140
- #: wp-db-backup.php:538
141
  #, php-format
142
  msgid "Error with SHOW CREATE TABLE for %s."
143
  msgstr ""
144
 
145
- #: wp-db-backup.php:545
146
  #, php-format
147
  msgid "Error getting table structure of %s"
148
  msgstr ""
149
 
150
- #: wp-db-backup.php:553
151
  #, php-format
152
  msgid "Data contents of table %s"
153
  msgstr ""
154
 
155
- #: wp-db-backup.php:618
156
  #, php-format
157
  msgid "End of data contents of table %s"
158
  msgstr ""
159
 
160
- #: wp-db-backup.php:634
161
  msgid "The backup directory is not writeable!"
162
  msgstr ""
163
 
164
- #: wp-db-backup.php:690
165
  #, php-format
166
  msgid "File not found:%s"
167
  msgstr ""
168
 
169
- #: wp-db-backup.php:690
170
  msgid "Return to Backup"
171
  msgstr ""
172
 
173
- #: wp-db-backup.php:713
 
 
 
 
 
174
  #, php-format
175
  msgid ""
176
  "Attached to this email is\n"
@@ -178,154 +184,154 @@ msgid ""
178
  " Size:%2s kilobytes\n"
179
  msgstr ""
180
 
181
- #: wp-db-backup.php:733 wp-db-backup.php:736
182
  msgid "Database Backup"
183
  msgstr ""
184
 
185
- #: wp-db-backup.php:740 wp-db-backup.php:782
186
  msgid "The following errors were reported:"
187
  msgstr ""
188
 
189
- #: wp-db-backup.php:741
190
  msgid "ERROR: The mail application has failed to deliver the backup."
191
  msgstr ""
192
 
193
- #: wp-db-backup.php:757
194
  msgid "Backup Successful"
195
  msgstr ""
196
 
197
- #: wp-db-backup.php:761
198
  #, php-format
199
  msgid ""
200
  "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
201
  msgstr ""
202
 
203
- #: wp-db-backup.php:769
204
  #, php-format
205
  msgid "Your backup has been emailed to %s"
206
  msgstr ""
207
 
208
- #: wp-db-backup.php:772
209
  msgid ""
210
  "Your backup file has been saved on the server. If you would like to download "
211
  "it now, right click and select \"Save As\""
212
  msgstr ""
213
 
214
- #: wp-db-backup.php:773
215
  #, php-format
216
  msgid "%s bytes"
217
  msgstr ""
218
 
219
- #: wp-db-backup.php:809
220
  msgid "Scheduled Backup Options Saved!"
221
  msgstr ""
222
 
223
- #: wp-db-backup.php:837
224
  msgid ""
225
  "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can "
226
  "not create the backup directory."
227
  msgstr ""
228
 
229
- #: wp-db-backup.php:843
230
  msgid ""
231
  "WARNING: Your backup directory is <strong>NOT</strong> writable! We can not "
232
  "create the backup directory."
233
  msgstr ""
234
 
235
- #: wp-db-backup.php:852
236
  msgid "Tables"
237
  msgstr ""
238
 
239
- #: wp-db-backup.php:854
240
  msgid "These core WordPress tables will always be backed up:"
241
  msgstr ""
242
 
243
- #: wp-db-backup.php:860
244
  msgid "You may choose to include any of the following tables:"
245
  msgstr ""
246
 
247
- #: wp-db-backup.php:874
248
  msgid "Select all"
249
  msgstr ""
250
 
251
- #: wp-db-backup.php:874
252
  msgid "Select none"
253
  msgstr ""
254
 
255
- #: wp-db-backup.php:883
256
  msgid "Backup Options"
257
  msgstr ""
258
 
259
- #: wp-db-backup.php:884
260
  msgid "What to do with the backup file:"
261
  msgstr ""
262
 
263
- #: wp-db-backup.php:885
264
  msgid "Save to server"
265
  msgstr ""
266
 
267
- #: wp-db-backup.php:887
268
  msgid "Download to your computer"
269
  msgstr ""
270
 
271
- #: wp-db-backup.php:888 wp-db-backup.php:936
272
  msgid "Email backup to:"
273
  msgstr ""
274
 
275
- #: wp-db-backup.php:892
276
  msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
277
  msgstr ""
278
 
279
- #: wp-db-backup.php:901
280
  msgid "Scheduled Backup"
281
  msgstr ""
282
 
283
- #: wp-db-backup.php:906
284
  msgid "Next Backup"
285
  msgstr ""
286
 
287
- #: wp-db-backup.php:910
288
  msgid "Last WP-Cron Daily Execution"
289
  msgstr ""
290
 
291
- #: wp-db-backup.php:911
292
  msgid "Next WP-Cron Daily Execution"
293
  msgstr ""
294
 
295
- #: wp-db-backup.php:917
296
  msgid "Schedule: "
297
  msgstr ""
298
 
299
- #: wp-db-backup.php:920
300
  msgid "None"
301
  msgstr ""
302
 
303
- #: wp-db-backup.php:920
304
  msgid "Daily"
305
  msgstr ""
306
 
307
- #: wp-db-backup.php:944
308
  msgid "Tables to include:"
309
  msgstr ""
310
 
311
- #: wp-db-backup.php:954
312
  msgid "Submit"
313
  msgstr ""
314
 
315
- #: wp-db-backup.php:979
316
  msgid "Never"
317
  msgstr ""
318
 
319
- #: wp-db-backup.php:984
320
  #, php-format
321
  msgid "%s seconds"
322
  msgstr ""
323
 
324
- #: wp-db-backup.php:1017
325
  msgid "Once Weekly"
326
  msgstr ""
327
 
328
- #: wp-db-backup.php:1030
329
  #, php-format
330
  msgid ""
331
  "Your WordPress version, %1s, lacks important security features without which "
@@ -334,17 +340,17 @@ msgid ""
334
  "WordPress</a> to a more recent version."
335
  msgstr ""
336
 
337
- #: wp-db-backup.php:1045
338
  msgid "You are not allowed to perform backups."
339
  msgstr ""
340
 
341
- #: wp-db-backup.php:1060
342
  #, php-format
343
  msgid ""
344
  "There appears to be an unauthorized attempt from this site to access your "
345
  "database located at %1s. The attempt has been halted."
346
  msgstr ""
347
 
348
- #: wp-db-backup.php:1071
349
  msgid "Cheatin' uh ?"
350
  msgstr ""
1
+ # WP-DB-Backup
2
  # Copyright (C) 2007 Austin Matzko
3
  # This file is distributed under the GPL 2 license.
4
  #
6
  msgstr ""
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
  "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2007-11-09 11:00-0500\n"
10
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11
  "Last-Translator: Austin Matzko if.website at gmail.com\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=CHARSET\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
 
16
+ #: wp-db-backup.php:162
17
  msgid "Backup Complete!"
18
  msgstr ""
19
 
20
+ #: wp-db-backup.php:191 wp-db-backup.php:386 wp-db-backup.php:390
21
+ #: wp-db-backup.php:893 wp-db-backup.php:934
22
  msgid "Backup"
23
  msgstr ""
24
 
25
+ #: wp-db-backup.php:192
26
  msgid "Progress"
27
  msgstr ""
28
 
29
+ #: wp-db-backup.php:194
30
  msgid "DO NOT DO THE FOLLOWING AS IT WILL CAUSE YOUR BACKUP TO FAIL:"
31
  msgstr ""
32
 
33
+ #: wp-db-backup.php:197
34
  msgid "Close this browser"
35
  msgstr ""
36
 
37
+ #: wp-db-backup.php:198
38
  msgid "Reload this page"
39
  msgstr ""
40
 
41
+ #: wp-db-backup.php:199
42
  msgid "Click the Stop or Back buttons in your browser"
43
  msgstr ""
44
 
45
+ #: wp-db-backup.php:201
46
  msgid "Progress:"
47
  msgstr ""
48
 
49
+ #: wp-db-backup.php:243
50
  #, php-format
51
  msgid ""
52
  "Backup complete, preparing <a href=\\\"%s\\\">backup</a> for download..."
53
  msgstr ""
54
 
55
+ #: wp-db-backup.php:249
56
  #, php-format
57
  msgid "Backup complete, sending <a href=\\\"%s\\\">backup</a> via email..."
58
  msgstr ""
59
 
60
+ #: wp-db-backup.php:255
61
  #, php-format
62
  msgid "Backup complete, download <a href=\\\"%s\\\">here</a>."
63
  msgstr ""
64
 
65
+ #: wp-db-backup.php:312
66
  msgid "Creating backup file..."
67
  msgstr ""
68
 
69
+ #: wp-db-backup.php:315
70
  #, php-format
71
  msgid "Finished backing up table \\\"%s\\\"."
72
  msgstr ""
73
 
74
+ #: wp-db-backup.php:317
75
  #, php-format
76
  msgid "Backing up table \\\"%s\\\"..."
77
  msgstr ""
78
 
79
+ #: wp-db-backup.php:324 wp-db-backup.php:626
80
  msgid "Could not open the backup file for writing!"
81
  msgstr ""
82
 
83
+ #: wp-db-backup.php:325
84
  msgid ""
85
  "The backup file could not be saved. Please check the permissions for "
86
  "writing to your backup directory and try again."
87
  msgstr ""
88
 
89
+ #: wp-db-backup.php:330 wp-db-backup.php:635
90
  msgid "WordPress MySQL database backup"
91
  msgstr ""
92
 
93
+ #: wp-db-backup.php:332 wp-db-backup.php:637
94
  #, php-format
95
  msgid "Generated: %s"
96
  msgstr ""
97
 
98
+ #: wp-db-backup.php:333 wp-db-backup.php:638
99
  #, php-format
100
  msgid "Hostname: %s"
101
  msgstr ""
102
 
103
+ #: wp-db-backup.php:334 wp-db-backup.php:639
104
  #, php-format
105
  msgid "Database: %s"
106
  msgstr ""
107
 
108
+ #: wp-db-backup.php:342 wp-db-backup.php:652
109
  #, php-format
110
  msgid "Table: %s"
111
  msgstr ""
112
 
113
+ #: wp-db-backup.php:349
114
  msgid ""
115
  "The backup directory is not writeable! Please check the permissions for "
116
  "writing to your backup directory and try again."
117
  msgstr ""
118
 
119
+ #: wp-db-backup.php:445 wp-db-backup.php:448
120
  msgid "There was an error writing a line to the backup script:"
121
  msgstr ""
122
 
123
+ #: wp-db-backup.php:480
124
  msgid "Subsequent errors have been omitted from this log."
125
  msgstr ""
126
 
127
+ #: wp-db-backup.php:514
128
  msgid "Error getting table details"
129
  msgstr ""
130
 
131
+ #: wp-db-backup.php:522
132
  #, php-format
133
  msgid "Delete any existing table %s"
134
  msgstr ""
135
 
136
+ #: wp-db-backup.php:531
137
  #, php-format
138
  msgid "Table structure of table %s"
139
  msgstr ""
140
 
141
+ #: wp-db-backup.php:537
142
  #, php-format
143
  msgid "Error with SHOW CREATE TABLE for %s."
144
  msgstr ""
145
 
146
+ #: wp-db-backup.php:544
147
  #, php-format
148
  msgid "Error getting table structure of %s"
149
  msgstr ""
150
 
151
+ #: wp-db-backup.php:552
152
  #, php-format
153
  msgid "Data contents of table %s"
154
  msgstr ""
155
 
156
+ #: wp-db-backup.php:614
157
  #, php-format
158
  msgid "End of data contents of table %s"
159
  msgstr ""
160
 
161
+ #: wp-db-backup.php:630
162
  msgid "The backup directory is not writeable!"
163
  msgstr ""
164
 
165
+ #: wp-db-backup.php:764
166
  #, php-format
167
  msgid "File not found:%s"
168
  msgstr ""
169
 
170
+ #: wp-db-backup.php:764
171
  msgid "Return to Backup"
172
  msgstr ""
173
 
174
+ #: wp-db-backup.php:773
175
+ #, php-format
176
+ msgid "File %s does not exist!"
177
+ msgstr ""
178
+
179
+ #: wp-db-backup.php:780
180
  #, php-format
181
  msgid ""
182
  "Attached to this email is\n"
184
  " Size:%2s kilobytes\n"
185
  msgstr ""
186
 
187
+ #: wp-db-backup.php:781
188
  msgid "Database Backup"
189
  msgstr ""
190
 
191
+ #: wp-db-backup.php:784 wp-db-backup.php:826
192
  msgid "The following errors were reported:"
193
  msgstr ""
194
 
195
+ #: wp-db-backup.php:785
196
  msgid "ERROR: The mail application has failed to deliver the backup."
197
  msgstr ""
198
 
199
+ #: wp-db-backup.php:801
200
  msgid "Backup Successful"
201
  msgstr ""
202
 
203
+ #: wp-db-backup.php:805
204
  #, php-format
205
  msgid ""
206
  "Your backup file: <a href=\"%1s\">%2s</a> should begin downloading shortly."
207
  msgstr ""
208
 
209
+ #: wp-db-backup.php:813
210
  #, php-format
211
  msgid "Your backup has been emailed to %s"
212
  msgstr ""
213
 
214
+ #: wp-db-backup.php:816
215
  msgid ""
216
  "Your backup file has been saved on the server. If you would like to download "
217
  "it now, right click and select \"Save As\""
218
  msgstr ""
219
 
220
+ #: wp-db-backup.php:817
221
  #, php-format
222
  msgid "%s bytes"
223
  msgstr ""
224
 
225
+ #: wp-db-backup.php:853
226
  msgid "Scheduled Backup Options Saved!"
227
  msgstr ""
228
 
229
+ #: wp-db-backup.php:881
230
  msgid ""
231
  "WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can "
232
  "not create the backup directory."
233
  msgstr ""
234
 
235
+ #: wp-db-backup.php:887
236
  msgid ""
237
  "WARNING: Your backup directory is <strong>NOT</strong> writable! We can not "
238
  "create the backup directory."
239
  msgstr ""
240
 
241
+ #: wp-db-backup.php:896
242
  msgid "Tables"
243
  msgstr ""
244
 
245
+ #: wp-db-backup.php:898
246
  msgid "These core WordPress tables will always be backed up:"
247
  msgstr ""
248
 
249
+ #: wp-db-backup.php:904
250
  msgid "You may choose to include any of the following tables:"
251
  msgstr ""
252
 
253
+ #: wp-db-backup.php:918
254
  msgid "Select all"
255
  msgstr ""
256
 
257
+ #: wp-db-backup.php:918
258
  msgid "Select none"
259
  msgstr ""
260
 
261
+ #: wp-db-backup.php:927
262
  msgid "Backup Options"
263
  msgstr ""
264
 
265
+ #: wp-db-backup.php:928
266
  msgid "What to do with the backup file:"
267
  msgstr ""
268
 
269
+ #: wp-db-backup.php:929
270
  msgid "Save to server"
271
  msgstr ""
272
 
273
+ #: wp-db-backup.php:931
274
  msgid "Download to your computer"
275
  msgstr ""
276
 
277
+ #: wp-db-backup.php:932 wp-db-backup.php:980
278
  msgid "Email backup to:"
279
  msgstr ""
280
 
281
+ #: wp-db-backup.php:936
282
  msgid "WARNING: Your backup directory is <strong>NOT</strong> writable!"
283
  msgstr ""
284
 
285
+ #: wp-db-backup.php:945
286
  msgid "Scheduled Backup"
287
  msgstr ""
288
 
289
+ #: wp-db-backup.php:950
290
  msgid "Next Backup"
291
  msgstr ""
292
 
293
+ #: wp-db-backup.php:954
294
  msgid "Last WP-Cron Daily Execution"
295
  msgstr ""
296
 
297
+ #: wp-db-backup.php:955
298
  msgid "Next WP-Cron Daily Execution"
299
  msgstr ""
300
 
301
+ #: wp-db-backup.php:961
302
  msgid "Schedule: "
303
  msgstr ""
304
 
305
+ #: wp-db-backup.php:964
306
  msgid "None"
307
  msgstr ""
308
 
309
+ #: wp-db-backup.php:964
310
  msgid "Daily"
311
  msgstr ""
312
 
313
+ #: wp-db-backup.php:988
314
  msgid "Tables to include:"
315
  msgstr ""
316
 
317
+ #: wp-db-backup.php:998
318
  msgid "Submit"
319
  msgstr ""
320
 
321
+ #: wp-db-backup.php:1023
322
  msgid "Never"
323
  msgstr ""
324
 
325
+ #: wp-db-backup.php:1028
326
  #, php-format
327
  msgid "%s seconds"
328
  msgstr ""
329
 
330
+ #: wp-db-backup.php:1061
331
  msgid "Once Weekly"
332
  msgstr ""
333
 
334
+ #: wp-db-backup.php:1074
335
  #, php-format
336
  msgid ""
337
  "Your WordPress version, %1s, lacks important security features without which "
340
  "WordPress</a> to a more recent version."
341
  msgstr ""
342
 
343
+ #: wp-db-backup.php:1089
344
  msgid "You are not allowed to perform backups."
345
  msgstr ""
346
 
347
+ #: wp-db-backup.php:1104
348
  #, php-format
349
  msgid ""
350
  "There appears to be an unauthorized attempt from this site to access your "
351
  "database located at %1s. The attempt has been halted."
352
  msgstr ""
353
 
354
+ #: wp-db-backup.php:1115
355
  msgid "Cheatin' uh ?"
356
  msgstr ""