{"id":3588,"date":"2020-10-20T16:51:28","date_gmt":"2020-10-20T21:51:28","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3588"},"modified":"2020-10-20T16:52:09","modified_gmt":"2020-10-20T21:52:09","slug":"notes-on-migrating-unifi-video-nvr-disk","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/notes-on-migrating-unifi-video-nvr-disk\/","title":{"rendered":"Notes on Migrating UniFi-Video NVR Disk"},"content":{"rendered":"\n<p>Recently upgraded a UniFi-Video VM by creating a new VM and restoring the backup from the previous one.  There was a separate virtual disk used for storing all the videos.  Although once I reattached it, I had to change the owner to the unifi-video user.  lt was reporting that the owner\/group was 127 and 134, looks like that was the user ID from the previous VM.<\/p>\n\n\n\n<p>Example output from ls -hla command<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">drwxr-xr-x 3 127 134 4.0K Jan 16 2020 176de761-8399-3bed-8ceb-917cbe4d25bd\ndrwxr-xr-x 2 127 134 4.0K Sep 10 12:28 21d506ef-dded-31f2-baf8-c109a7e653b9\ndrwxr-xr-x 4 127 134 4.0K Jan 1 2020 1a3afc4c-a030-39a1-b139-857444c8b71c<\/pre>\n\n\n\n<p>Ended up changing the owner to the unifi-video owner with the chown command.  \/path\/to\/videos is the mount point of the video drive.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown -R unifi-video:unifi-video \/path\/to\/videos<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Recently upgraded a UniFi-Video VM by creating a new VM and restoring the backup from the previous one. There was a separate virtual disk used for storing all the videos. Although once I reattached it, I had to change the &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/notes-on-migrating-unifi-video-nvr-disk\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[370],"tags":[131,132,974,265,176],"class_list":["post-3588","post","type-post","status-publish","format-standard","hentry","category-unifi-video","tag-ubiquiti-2","tag-ubnt","tag-ui","tag-unifi-video","tag-vm"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3588"}],"version-history":[{"count":4,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3588\/revisions"}],"predecessor-version":[{"id":3595,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3588\/revisions\/3595"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}