📜  备份和快照之间的区别

📅  最后修改于: 2021-08-27 17:54:32             🧑  作者: Mango

1.备份:
备份通常会建议您复制数据。启动备份后,它将生成文件的副本,包括与您的网站和邮箱有关的文件。这些副本通常保存在与原始内容不同的位置,因此使它们成为灾难恢复的理想选择。备份是一种可能需要几分钟,几小时或几天才能完成的机制,具体取决于数据。这表明备份结束时的数据可能与备份启动时的数据不兼容。计划将备份长时间存储,如果备份存储在服务器之外,则可以在服务器出现故障后将其用于还原服务器。

2.快照:
快照是指服务器在特定时间段内文件系统的瞬时“图片”。这张图片像拍摄快照时一样,理解了整个文件系统。习惯于使用快照来还原服务器时,服务器将完全恢复到快照时的状态。快照是为短期存储而设计的。当空间不足时,新快照最终会覆盖旧快照。因此,通常只有在要还原到服务器的最新版本时,快照才是好的。

备份和快照之间的区别:

S.NO. Backup Snapshot
1. Backup can be stored in another location, same server, or even the same drive in this case. Snapshots can be stored only in the same location where original data is present.
2. Backup may have differences based on when the backup started and ended. Snapshot is a “picture” of your server at present period of time.
3. It is a long term process and might take a lot of time to complete the procedure. It is a short term process and takes very less time, as compared to backup, to complete the procedure.
4. Backup comprises of only file system. Snapshots comprises of different types of systems like the files, software, and settings of that type.
5. Backup takes long time to copy data. Snapshot takes very less time to copy the data.
6. Incase of SQL server, backup is a paid service. A person can use this service to automatically backup most recent data every night. Incase of SQL server, snapshot is a free feature that is used to manually create duplicate images of the servers. One can easily generate them at any time.
7. Backup is not a backup unless the data exists in several distinct locations. Backups should be easily and quickly restored. Backups should be verifiable. Snapshot by itself is not a backup. But it can be used as an essential part of the backup process. Snapshot is used as a part of the data movement process to a backup file. It is removed when the backup job is completed.