Document/Object store path

本文介绍了一种将文件存储从一个位置迁移到另一个位置的方法,包括使用MIGRATE_CONTENT方法的具体步骤,更新对象类型以便新创建的对象存储在新的文件存储中,并提供了确保迁移后数据一致性的检查指南。

Document/Object store path

 


(R_OBJECT_ID)090003ec8002034f  --> 09(TYPE)   0003ec(repository id, PATH1)    8002034f(unique id )
(DMR_CONTENT.DATA_TICKET)-2147402421 -->16进制路径80013D4B

 
path:  0003ec\80\01\3D\4B.extention

 

dmr_content.parent_id represents the sys.r_obj_id,

sysobj.r_id <----> contents_id - --->data_ticket----> real file.

 

Very useful guide for troubleshooting after migration:

accessories,consistencyCheckeyJob troubleshooting guide.

 

MIGRATE_CONTENT:

To move the contents of one filestore to another you can use the MIGRATE_CONTENT method
EXECUTE migrate_content
WITH source_store='filestore_01',
target_store='your_target_store',
batch_size=100,
log_file='C:\temp\migration.log'

Update the object type so that any new objects created are stored in the new filestore.
update dm_document(all) objects set a_storage_type = 'your_new_filestore'
where a_storage_type = 'filestore_01';

You can finally delete the old filestore.

 

 

 

import router from './router' import store from './store' import { Message } from 'element-ui' import NProgress from 'nprogress' // progress bar import 'nprogress/nprogress.css' // progress bar style import { getToken } from '@/utils/auth' // get token from cookie import getPageTitle from '@/utils/get-page-title' NProgress.configure({ showSpinner: false }) // NProgress Configuration const whiteList = ['/login', '/auth-redirect'] // no redirect whitelist router.beforeEach(async(to, from, next) => { // start progress bar NProgress.start() // set page title document.title = getPageTitle(to.meta.title) // determine whether the user has logged in const hasToken = getToken() if (hasToken) { if (to.path === '/login') { // if is logged in, redirect to the home page next() NProgress.done() // hack: https://github.com/PanJiaChen/vue-element-admin/pull/2939 } else { // determine whether the user has obtained his permission roles through getInfo const hasRoles = store.getters.authorityList && store.getters.authorityList.length > 0 if (hasRoles) { next() } else { try { // get user info // note: roles must be a object array! such as: ['admin'] or ,['developer','editor'] const { authorityList } = await store.dispatch('user/getInfo') if (!authorityList || authorityList.length === 0) { Message.error('请先授权再登录') next('/login') NProgress.done() return } // generate accessible routes map based on roles const accessRoutes = await store.dispatch('permission/generateRoutes', authorityList) // dynamically add accessible routes router.addRoutes(accessRoutes) // hack method to ensure that addRoutes is complete // set the replace: true, so the navigation will not leave a history record next({ ...to, replace: true }) // next() } catch (error) { // remove token and go to login page to re-login await store.dispatch('user/resetToken') Message.error(error || 'Has Error') next(`/login?redirect=${to.path}`) NProgress.done() } } } } else { /* has no token*/ if (whiteList.indexOf(to.path) !== -1) { // in the free login whitelist, go directly next() } else { // other pages that do not have permission to access are redirected to the login page. next(`/login?redirect=${to.path}`) NProgress.done() } } }) router.afterEach(() => { // finish progress bar NProgress.done() }) 详细分析讲解上方路由守卫代码
06-19
随着信息技术在管理上越来越深入而广泛的应用,作为学校以及一些培训机构,都在用信息化战术来部署线上学习以及线上考试,可以与线下的考试有机的结合在一起,实现基于SSM的小码创客教育教学资源库的设计与实现在技术上已成熟。本文介绍了基于SSM的小码创客教育教学资源库的设计与实现的开发全过程。通过分析企业对于基于SSM的小码创客教育教学资源库的设计与实现的需求,创建了一个计算机管理基于SSM的小码创客教育教学资源库的设计与实现的方案。文章介绍了基于SSM的小码创客教育教学资源库的设计与实现的系统分析部分,包括可行性分析等,系统设计部分主要介绍了系统功能设计和数据库设计。 本基于SSM的小码创客教育教学资源库的设计与实现有管理员,校长,教师,学员四个角色。管理员可以管理校长,教师,学员等基本信息,校长角色除了校长管理之外,其他管理员可以操作的校长角色都可以操作。教师可以发布论坛,课件,视频,作业,学员可以查看和下载所有发布的信息,还可以上传作业。因而具有一定的实用性。 本站是一个B/S模式系统,采用Java的SSM框架作为开发技术,MYSQL数据库设计开发,充分保证系统的稳定性。系统具有界面清晰、操作简单,功能齐全的特点,使得基于SSM的小码创客教育教学资源库的设计与实现管理工作系统化、规范化。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值