diff --git a/content/blog/migrate_from_pi_win.zh.md b/content/blog/migrate_from_pi_win.zh.md new file mode 100644 index 0000000..6ec1d20 --- /dev/null +++ b/content/blog/migrate_from_pi_win.zh.md @@ -0,0 +1,94 @@ ++++ +title = "简单快速地迁移数据和扩展存储空间" +tags = ["WD", "MyCloud", "Redundancy"] +categories = ["BLOG"] +date = "2023-03-02T13:43:40" +banner = "/img/blog/migrate_from_pi_win/migrate_pi_win.jpg" ++++ + + **简单快速地迁移数据和扩展存储空间** + + 最近有个用户因为原先的存储盘已经满了,想把数据直接从原先的PI服务器迁移到Windows服务器上,并且扩大存储盘,让我们来看看最快的数据迁移扩展方法,本文也可以用来指导数据恢复。本文以Windows为例,其它平台操作也类似。 + + + +
+

+ +

+
+ +本文目录 +================= +- [本文目录](#本文目录) +- [第1步:安装Windows Lomorage 照片助手](#第1步安装windows-lomorage-照片助手) +- [第2步:复制数据](#第2步复制数据) +- [第3步: 更改assets.db 里的user 表里的home\_dir](#第3步-更改assetsdb-里的user-表里的home_dir) + - [3.1 下载 辅助工具](#31-下载-辅助工具) + - [3.2 停止照片助手,把改好的assets.db 复制到默认的安装位置:](#32-停止照片助手把改好的assetsdb-复制到默认的安装位置) + - [3.3 重启照片助手完成数据迁移,再也不怕数据满盘了!](#33-重启照片助手完成数据迁移再也不怕数据满盘了) + + +# 第1步:安装Windows Lomorage 照片助手 + +请直接去 [lomorage](https://lomorage.com)官网下载windows版本的照片助手并且按照默认设置安装。 + +# 第2步:复制数据 + +原先的存储盘已经满了,所以用户A选择了一个新**10T**的大硬盘,然后把数据从老的硬盘拷贝到了新的硬盘里。 +新硬盘的数据目录是: + +**d:\imagebk** + +确保 **d:\imagebk** 下是原先的用户名目录,像如下这样: + +``` +d:\imagebk +|-- test +|-- user_name +|-- user_name2 +|-- assets.db +``` + +**提示:assets.db 就是数据文件,这个非常重要** + + +# 第3步: 更改assets.db 里的user 表里的home_dir + +## 3.1 下载 辅助工具 + +请去 https://sqlitebrowser.org/ 网站下载,然后用sqlitebrowser 工具打开 assets.db, 如下图一样更改**home_dir** + + +
+

+ +

+
+ +## 3.2 停止照片助手,把改好的assets.db 复制到默认的安装位置: + +**> c:\Users\\%username%\AppData\Local\lomoware\var\assets.db** + +## 3.3 重启照片助手完成数据迁移,再也不怕数据满盘了! + + + +**支持**: support@lomorage.com or lomorage@gmail.com. + +或者加 **微信:lomoware**,加入微信群,和开发者互动。 + +
+

+ +

+
+ +新的开发版已经自动支持一键迁移恢复数据, 敬请期待: + +
+

+ +

+
\ No newline at end of file diff --git a/content/blog/mypains.zh.md b/content/blog/mypains.zh.md index c673e82..619cd3d 100644 --- a/content/blog/mypains.zh.md +++ b/content/blog/mypains.zh.md @@ -36,7 +36,7 @@ banner = "/img/blog/mypains/banner.png" **Lomorage的解决方法**: -- 安装Lomorage服务器程序或者购买Lomorage智存盒子: +- 安装Lomorage服务器程序: > Lomorage 服务器可以装在您的**树莓派或者Windows或者MacOS系统**上 diff --git a/content/blog/set_wd_as_backup.md b/content/blog/set_wd_as_backup.md new file mode 100644 index 0000000..f16787a --- /dev/null +++ b/content/blog/set_wd_as_backup.md @@ -0,0 +1,128 @@ ++++ +title = "Set WD MyCloud as Lomorage redundancy backup disk on Windows" +tags = ["WD", "MyCloud", "Redundancy"] +categories = ["BLOG"] +date = "2023-02-22T13:43:40" +banner = "/img/blog/set_wd_as_backup/set_wd_as_backup.jpg" ++++ + + **Setup WD MyCloud as Lomorage Redundancy backup disk on Windows.** + + + + +Table of Contents +================= +- [Table of Contents](#table-of-contents) +- [1. Mount WD MyCloud as Windows Disk](#1-mount-wd-mycloud-as-windows-disk) +- [2. Setup Redundancy Backup](#2-setup-redundancy-backup) +- [3. Test redundancy backup and trouble shooting](#3-test-redundancy-backup-and-trouble-shooting) + - [If you meet some issue like the below:](#if-you-meet-some-issue-like-the-below) + - [Solution is:](#solution-is) + + + +# 1. Mount WD MyCloud as Windows Disk + +The detail introduction from WD is here: __[How to mount WD MyCloud on Windows](https://support-en.wd.com/app/answers/detailweb/a_id/25436/h/p2#subject2)__ + +Below picture is my case: + +
+

+ +

+
+ +# 2. Setup Redundancy Backup + + Open Lomorage Photo Assistant in your Windows, and set as blow: + + > **Make sure there is no content under the folder **W:\wd-test**** + +
+

+ +

+
+ +# 3. Test redundancy backup and trouble shooting + +And click the **"Start redundancy backup..."** button to see the files will copy from +D:\imagebk to W:\wd-test. + +## If you meet some issue like the below: + +``` +rdiff-backup.exe --force -v5 --print-statistics D:/imagebk W:/ +WARNING: this command line interface is deprecated and will disappear, start using the new one as described with '--new --help'. +* Using repository 'W:/' +NOTE: Found interrupted initial backup in data directory W:/rdiff-backup-data. Removing... +* Hardlinks disabled by default on Windows +* Unable to import module (py)xattr. Extended attributes not supported on filesystem at path D:/imagebk +* Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at path D:/imagebk +* ----------------------------------------------------------------- +Detected abilities for source (read only) file system: + Access control lists Off + Extended attributes Off + Windows access control lists On + Case sensitivity Off + Escape DOS devices On + Escape trailing spaces On + Mac OS X style resource forks Off + Mac OS X Finder information Off +----------------------------------------------------------------- +* Directories on file system at path W:/rdiff-backup-data/rdiff-backup.tmp.0 are not fsyncable. Assuming it's unnecessary. +* Unable to import module (py)xattr. Extended attributes not supported on filesystem at path W:/rdiff-backup-data/rdiff-backup.tmp.0 +* Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at path W:/rdiff-backup-data/rdiff-backup.tmp.0 +* ----------------------------------------------------------------- +Detected abilities for destination (read/write) file system: + Ownership changing Off + Hard linking On + fsync() directories Off + Directory inc permissions Off + High-bit permissions On + Symlink permissions Off + Extended filenames On + Windows reserved filenames On + Access control lists Off + Extended attributes Off + Windows access control lists On + Case sensitivity Off + Escape DOS devices On + Escape trailing spaces On + Mac OS X style resource forks Off + Mac OS X Finder information Off +----------------------------------------------------------------- +* Backup: escape_dos_devices = False +* Backup: escape_trailing_spaces = False +* Enabled use_compatible_timestamps +NOTE: Symbolic links excluded by default on Windows +* Given repository doesn't need to be regressed +NOTE: Starting mirror from source path D:/imagebk to destination path W:/ +* Processing file . +* Processing file .WDSyncHistory +* Processing file .WDSyncHistory/.WD Hidden Files +* Processing file Garbage Dispenser2.mp4 +* Cleaning up +Traceback (most recent call last): + File "rdiffbackup\run.py", line 170, in + File "rdiffbackup\run.py", line 37, in main + File "rdiffbackup\run.py", line 105, in main_run + File "rdiffbackup\actions\backup.py", line 159, in run + File "rdiff_backup\backup.py", line 39, in mirror_compat200 + File "rdiff_backup\backup.py", line 197, in patch + File "rdiff_backup\rorpiter.py", line 142, in __call__ + File "rdiff_backup\rorpiter.py", line 179, in _finish_branches + File "rdiff_backup\backup.py", line 641, in end_process_directory + File "rdiff_backup\rpath.py", line 807, in rmdir +PermissionError: [WinError 5] Access is denied: b'W:/.WDSyncHistory/.WD Hidden Files' +[2528] Failed to execute script 'run' due to unhandled exception! + +``` + +## Solution is: + +**Please go to W:\wd-test, to remove some hidden files.** + +**Support**: support@lomorage.com or lomorage@gmail.com. \ No newline at end of file diff --git a/content/blog/set_wd_as_backup.zh.md b/content/blog/set_wd_as_backup.zh.md new file mode 100644 index 0000000..fb54650 --- /dev/null +++ b/content/blog/set_wd_as_backup.zh.md @@ -0,0 +1,62 @@ ++++ +title = "把WD MyCloud设置为Lomorage的冗余备份盘" +tags = ["WD", "MyCloud", "Redundancy"] +categories = ["BLOG"] +date = "2023-02-22T13:43:40" +banner = "/img/blog/set_wd_as_backup/set_wd_as_backup.jpg" ++++ + + **在Windows上,把WD MyCloud设置为Lomorage的冗余备份盘** + + + + +本文目录 +================= +- [本文目录](#本文目录) +- [1. 映射 WD MyCloud 为Windows的盘符](#1-映射-wd-mycloud-为windows的盘符) +- [2. 设置冗余备份](#2-设置冗余备份) +- [3. 测试冗余备份](#3-测试冗余备份) + + + +# 1. 映射 WD MyCloud 为Windows的盘符 + +具体可以参考WD的官方说明: __[How to mount WD MyCloud on Windows](https://support-en.wd.com/app/answers/detailweb/a_id/25436/h/p2#subject2)__ + +下面是一个例子,其实就是在局域网内找到WD的盘符,然后映射网络驱动器。 + +
+

+ +

+
+ +# 2. 设置冗余备份 + + 打开Lomorage桌面助手,按下图设置: + + > **确保 **W:\wd-test** 是一个新目录,下面没有其他的内容** + +
+

+ +

+
+ +# 3. 测试冗余备份 + +点击 **"启动冗余备份..."** 按钮,然后查看文件是否已经从**D:\imagebk** 拷贝到了 **W:\wd-test.** + + + +**支持**: support@lomorage.com or lomorage@gmail.com. + +或者加 **微信:**,加入微信群,和开发者互动。 + +
+

+ +

+
diff --git a/static/img/blog/lomorage_wechat_qr.jpg b/static/img/blog/lomorage_wechat_qr.jpg new file mode 100644 index 0000000..245b60d Binary files /dev/null and b/static/img/blog/lomorage_wechat_qr.jpg differ diff --git a/static/img/blog/migrate_from_pi_win/assets_db_zh.png b/static/img/blog/migrate_from_pi_win/assets_db_zh.png new file mode 100644 index 0000000..f2e310a Binary files /dev/null and b/static/img/blog/migrate_from_pi_win/assets_db_zh.png differ diff --git a/static/img/blog/migrate_from_pi_win/migrate_pi_win.jpg b/static/img/blog/migrate_from_pi_win/migrate_pi_win.jpg new file mode 100644 index 0000000..3d9560b Binary files /dev/null and b/static/img/blog/migrate_from_pi_win/migrate_pi_win.jpg differ diff --git a/static/img/blog/migrate_from_pi_win/one_click_recover.png b/static/img/blog/migrate_from_pi_win/one_click_recover.png new file mode 100644 index 0000000..65df55c Binary files /dev/null and b/static/img/blog/migrate_from_pi_win/one_click_recover.png differ diff --git a/static/img/blog/set_wd_as_backup/mount.png b/static/img/blog/set_wd_as_backup/mount.png new file mode 100644 index 0000000..f26279b Binary files /dev/null and b/static/img/blog/set_wd_as_backup/mount.png differ diff --git a/static/img/blog/set_wd_as_backup/mount_zh.png b/static/img/blog/set_wd_as_backup/mount_zh.png new file mode 100644 index 0000000..6aa4171 Binary files /dev/null and b/static/img/blog/set_wd_as_backup/mount_zh.png differ diff --git a/static/img/blog/set_wd_as_backup/set_redundancy_agent.png b/static/img/blog/set_wd_as_backup/set_redundancy_agent.png new file mode 100644 index 0000000..3437f1c Binary files /dev/null and b/static/img/blog/set_wd_as_backup/set_redundancy_agent.png differ diff --git a/static/img/blog/set_wd_as_backup/set_redundancy_agent_zh.png b/static/img/blog/set_wd_as_backup/set_redundancy_agent_zh.png new file mode 100644 index 0000000..fa0e628 Binary files /dev/null and b/static/img/blog/set_wd_as_backup/set_redundancy_agent_zh.png differ diff --git a/static/img/blog/set_wd_as_backup/set_wd_as_backup.jpg b/static/img/blog/set_wd_as_backup/set_wd_as_backup.jpg new file mode 100644 index 0000000..71dd385 Binary files /dev/null and b/static/img/blog/set_wd_as_backup/set_wd_as_backup.jpg differ