Linux 软件免费装
Banner图

DreamObjects Backups

开发者 Ipstenu
更新时间 2022年5月7日 04:05
PHP版本: 7.0 及以上
WordPress版本: 6.0
版权: GPLv2 or later
版权网址: 版权信息

标签

backup cloud dreamhost dreamobjects

下载

3.4.3 3.5.2 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.2.0 4.3.0 3.3 4.3.1 4.4 4.4.1

详情介绍:

FINAL UPDATE This plugin is no longer supported. I will be available for security patches going forward until December 2022 but, after that point, this plugin will be closed. DreamHost has its own Cloud - DreamObjects™ - an inexpensive, scalable object storage service that was developed from the ground up to provide a reliable, flexible cloud storage solution for entrepreneurs and developers. It provides a perfect, scalable storage solution for your WordPress site. DreamObjects Backups connects your WordPress site into DreamObjects, tapping into the amazing power of automated backups! Please do not open DreamHost Support Tickets for this plugin. Post in the support forum here, and I'll get to you as soon as I can. Backup Features 信用 Version 3.5 and up would not have been possible without the work Brad Touesnard did with Amazon Web Services. His incorporation of the AWS SDK v 2.x was the cornerstone to this plugin working better. Privacy Policy By using this plugin, data will be sent to DreamObjects, a subsidiary of DreamHost. As you are required to register for a DreamObjects account, you have already agreed to the DreamHost.com terms of service and privacy policy. Those terms are applicable to all data transmitted. The following information is sent to DreamObjects:

安装:

  1. Sign up for DreamObjects
  2. Install and Activate the plugin
  3. Fill in your Key and Secret Key
  4. Go to the backups page
  5. Make your settings selections (how often, what, how many)
  6. Relax and let DreamHost do the work

屏幕截图:

  • DreamObjects Private Key
  • Your DreamObjects Public Key
  • The Settings Page
  • The backup page
  • Stored backups

升级注意事项:

THIS PLUGIN IS NO LONGER MAINTAINED. IT WILL RECEIVE SECURITY UPDATES AND BUG FIXES UNTIL JULY 2022. AFTER THAT TIME, IT WILL BE RETIRED.

常见问题:

General Questions

Why is this plugin being retired? While this plugin works well for backups, it was originally intended to be for use on DreamPress (the managed WordPress hosting service from DreamHost). Since that service has much better backups, it's no longer necessary to use a plugin. What alternatives are there to this plugin? In no particular order:

What does it do? DreamObjects Backups connects your WordPress site to your DreamObjects cloud storage, allowing you to automatically store backups of your content. Do you work for DreamHost? Yes, but this isn't an official DreamHost plugin at this time. It just works. Do I have to host my website on DreamHost? No, but using it anywhere else is unsupported. You have to use DreamObjects, which belongs to DreamHost. This plugin was built on and specifically for DreamHost servers, so I can give you no assurance it'll work on other hosts. BotoRsync, for example, and WP-CLI are installed on DreamHost servers. I can't vouch for any others. I haven't tested this at all on Windows. Can I use this on Multisite? Multisite is not supported. What does it backup? Your database and your wp-content folder. It also attempts to backup your .htaccess and wp-config.php files if it can be sure it's found them. How big a site can this back up? PHP has a hard limit of 2G (see Why can't I upload or download files greater than 2GB?). Sorry. Why does my backup run but not back anything up? Your backup may be too big for your server to handle. A quick way to test if this is happening still is by trying to only backup the SQL. If that works, then it's the size of your total backup. Wait, you said it could back up 2G! What gives? There are a few things at play here:
  1. The size of your backup
  2. The file upload limit size in your PHP
  3. The amount of server memory
  4. The amount of available CPU
In a perfect world, you have enough to cope with all that. When you have a very large site, however, not so much. You can try increasing your PHP memory limit, or if your site really is that big, consider a VPS. Remember you're using WordPress to run backups here, so you're at the mercy of a middle-man. Just because PHP has a hard limit of 2G doesn't mean it'll even get that far. I have, personally, verified a 250MB zip file on a shared host, with no timeouts, no server thrashing, and no PHP errors, so if this is still happening, turn on debugging and check the log. If the log stalls on creating the zip, then you've hit the memory wall. It's possible to increase your memory limit via PHP, however doing this on a shared server means you're probably getting too big for this sort of backup solution in the first place. If your site is over 500megs and you're still on shared, you need to seriously think about your future. This will be much less of an issue on VPS and dedicated boxes, where you don't have the same limits. Where's the Database in the zip? I admit, it's in a weird spot: /wp-content/upgrade/RANDOM-dreamobjects-backup.sql Why there? Security. It's a safer spot, though safest would be a non-web-accessible folder. Maybe in the future. Keeping it there makes it easy for the plugin to delete.

Using the Plugin

How often can I schedule backups? You can schedule them daily, weekly, or monthly. Can I force a backup to run now? Yep! It actually sets it to run in 60 seconds, but works out the same. I disabled wp-cron. Will this work? Yes, provided you still call cron via a grownup cron job (i.e. curl http://domain.com/wp-cron.php or something similar). That will call your regular backups. ASAP backup, however, will need you to manually visit the cron page. How long does it keep backups? Since you get charged on space used for DreamObjects, the default is to retain the last 5 backups. If you need more history you can save all your backups. Can I keep them forever? If you chose 'all' then yes, however this is not recommended. DreamObjects (like most S3/cloud platforms) charges you based on space and bandwidth, so if you have a large amount of files stored, you will be charged more money. How do I use the CLI? If you have wp-cli installed on your server (which DreamHost servers do), you can use the following commands: wp dreamobjects backup wp dreamobjects reset log wp dreamobjects reset settings The 'backup' command runs an immediate backup, while the reset command wipes either the log or the settings.

错误

Can I see a log of what happens? You can enable logging on the main DreamObjects screen. This is intended to be temporary (i.e. for debugging weird issues) rather than something you leave on forever. If you turn off logging, the log wipes itself for your protection. The automated backup is set to run at 3am but it didn't run till 8am! That's not an error. WordPress kicks off cron jobs when someone visits your site, so if no one visited the site from 3am to 8am, then the job to backup wouldn't run until then. Why is nothing happening when I press the backup ASAP button? First turn on logging, then run it again. If it gives output, then it's running, so read the log to see what the error is. If it just 'stops', it should have suggestions as to why. You can also log in via SSH and run wp dreamobjects backup to see if that works.

更新日志:

4.4.1 4.4 Final update - February 2022 Previous Versions See changelog.txt