Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amer
erp5
Commits
49bbf182
Commit
49bbf182
authored
13 years ago
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting.
parent
f2eb310c
master
allow_login_change
allow_login_change_wip
arnau
arnau-TM-components-products-migration
arnau-TM-isBuildable-with-multiple-BusinessLinks
arnau-TM-jabber-client-desktop-notifications
arnau-kns
arnau-kns-without-property-mapping
arnau-merge
arnau-poc
arnau-real-time-inventory-accounting
auto_extend_select_list
autoflake
backup_erp5_workflow
bk_erp5ish_actions_tool
bk_sqlcatalog
boc-interaction-drop
bryton/py3
bt5_config
cache
callable-jupyter-storage
catalog_filter
catalog_fulltext
catalog_fulltext_old
cedric
cedriclen
cedriclen-eos
certificate_authority
cherry-pick-243c2f03
cherry-pick-304d7a28
cherry-pick-4a8e045d
cleanJSByJSLint
clean_up_upgrader
cleanup_acquisition_base_category
compact_title_no_reference
credential_update_action
datetimefield
deferred_listbox
delivery_item_barcode
douglas_forum
dream_distributor
dsn-phase3
eos-dev
erp5-component
erp5-forum
erp5-messenger
erp5-preference
erp5-release
erp5-slapos-upgrade
erp5-util-testing
erp5-vifib
erp5-vifib-cleanup
erp5_calendar
erp5_catalog
erp5_catalog_final
erp5_corporate_identity
erp5_discussion_tool
erp5_free_subscription
erp5_hal_json_style_fix_restricted_access_with_traverse
erp5_payslip_migration
erp5_workflow
erp5testnode_max_timeout
experiment/coding_style_test_suite
feat/olapy
feat/pdm_content_translation
feature/accounting-reports-stats
feature/hal-actions-support
feature/hal-support-update
feature/jio-accounting-reports
feature/jio-action-accounting
feature/jio-selection-actions
feature/json-allows-all-jio-actions
feature/renderjs-matrixbox
feature/renderjs-ui-no-header
feature/rjs-listbox-stats
feature/rjs-mass-transition
feature/rjs-print-action
fix/20180928-1D89375
fix/consistency_check_alarm
fix/login_validate_check_consistency
fix/multiple_small_fixes_to_zodb_history_tab
fix/support-request-app-empty
fix_system_processes_ownership
for_testrunner_1
for_testrunner_2
for_testrunner_3
gabriel
gabriel-fix-rounding-in-accounting-generation
gabriel-fix-rounding-in-accounting-generation2
gadget-json-value
hateoas
hotfix/accounting-test-timeout
hotfix/callable_tool
hotfix/field-keeps-request
hotfix/jio-mass-transition
hotfix/jio_view
hotfix/pdm-test
hotfix/rjs-accounting-tests
hotfix/rjs-editability
hotfix/rjs-form-less-invasive
hotfix/rjs-formfields-padding
hotfix/rjs-listbox-mutex
hotfix/rjs-replace-query-with-uids
hotfix/tests-cleanup
http_cache_fix
improve_default_caching_policy_manager
initsite
interaction-drop
isDeletable
item_tracking_graph_editor
ivan
jerome-bt-reference-doc
jerome_graph_editor_renderjs
jerome_new_style_solve_divergence
jerome_user_preference_time_zone
jio
jm/form-action-guard
joblib-activity
js-ui
kns
kns-kr
lazy_simulation_causality
lignan
lingnan
listbox-generator
listbox_url
macros_fix
mame
mame-bt5-cleanup
mame-erp5_project-cleanup
mame-naming-convention
mame-naming-convention-list_method
mame-test-stock-indexation
mame-work
mame2
maste_copy
master-erp5-test-result-scalability
master-erp5-test-result-scalability-rebase
master-test-fix-additionalbt5path
master_calendar_wip_patches
master_calendar_wip_patches_extend_security
master_no_guard_on_workflow_transition
master_no_guard_on_workflow_transition_plus_calendar_wip_patchs
mic_wind
mmariani-inventory
monitoring
monitoring-graph
mrp
new-render-presentation
no_longer_simulated_state
officejs
officejs_clean
officejs_zip
ojs_wip
pere
portal_callables
portal_solver_process_security_configuration
presentation
rebased_mrp
refactor/base_edit
refactor/renderjs
reindex_calendar_after_change_calendar_exception
reverse_logistics
revert-38554dbe
revert-6c89fe9b
rewrite_test_21_AcquiredPortalType
romain-fulltext
scalability-master
scalability-master2
scalability-master2-rebase
scalability-roque
scalability-roque-2
scalability-run-command
shop-box
sms_more_than_140_characters
strict_catalog
syncml
taskdistribution-xmlrpc-binary
test_page
testnode_software_link
timezones
tmp/getInstalledBusinessTemplate_never_installed_bt
tristan
tristan-merge
tristan-performance
ttrm
upgradeSite
view-aggregated-amounts
vivekpab_renderjs_interfaces
w3validator_removal
wenjie
wenjie_branch
wip
yryr
yryr-components-cp
yryr-inventory-cache
yryr-test
yryr-with-components
yusei
test-ui
test-rjsacc
test-rjs
renderjs-test
erp5.util-0.4.56
erp5.util-0.4.55
erp5.util-0.4.54
erp5.util-0.4.53
erp5.util-0.4.52
erp5.util-0.4.49
erp5.util-0.4.46
erp5.util-0.4.44
erp5.util-0.4.43
erp5.util-0.4.41
erp5.util-0.4.40
erp5.util-0.4.37
erp5.util-0.4.1
erp5.util-0.4
erp5.util-0.3
erp5.util-0.2
erp5.util-0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
+14
-9
No files found.
slapos/recipe/erp5/src/slapos/recipe/erp5/__init__.py
View file @
49bbf182
...
...
@@ -818,11 +818,15 @@ SSLRandomSeed connect builtin
incremental_backup
=
os
.
path
.
join
(
backup_directory
,
'incremental'
)
self
.
_createDirectory
(
full_backup
)
self
.
_createDirectory
(
incremental_backup
)
innobackupex_argument_list
=
[
self
.
options
[
'perl_binary'
],
self
.
options
[
'innobackupex_binary'
],
'--defaults-file=%s'
%
mysql_conf_path
,
'--socket=%s'
%
mysql_conf
[
'socket'
].
strip
(),
'--user=root'
]
environment
=
dict
(
PATH
=
':'
.
join
([
self
.
bin_directory
]
+
os
.
environ
[
'PATH'
].
split
(
':'
)))
innobackupex_incremental
=
zc
.
buildout
.
easy_install
.
scripts
([(
'innobackupex_incremental'
,
__name__
+
'.execute'
,
'executee'
)],
self
.
ws
,
sys
.
executable
,
self
.
bin_directory
,
arguments
=
[
innobackupex_argument_list
=
[
self
.
options
[
'perl_binary'
],
self
.
options
[
'innobackupex_binary'
],
'--defaults-file=%s'
%
mysql_conf_path
,
'--socket=%s'
%
mysql_conf
[
'socket'
].
strip
(),
'--user=root'
]
environment
=
dict
(
PATH
=
':'
.
join
([
self
.
bin_directory
]
+
os
.
environ
[
'PATH'
].
split
(
':'
)))
innobackupex_incremental
=
zc
.
buildout
.
easy_install
.
scripts
([(
'innobackupex_incremental'
,
__name__
+
'.execute'
,
'executee'
)],
self
.
ws
,
sys
.
executable
,
self
.
bin_directory
,
arguments
=
[
innobackupex_argument_list
+
[
'--incremental'
],
environment
])[
0
]
self
.
path_list
.
append
(
innobackupex_incremental
)
...
...
@@ -832,10 +836,11 @@ SSLRandomSeed connect builtin
innobackupex_argument_list
,
environment
])[
0
]
self
.
path_list
.
append
(
innobackupex_full
)
backup_controller
=
zc
.
buildout
.
easy_install
.
scripts
([(
'innobackupex_controller'
,
__name__
+
'.innobackupex'
,
'controller'
)],
self
.
ws
,
sys
.
executable
,
self
.
bin_directory
,
arguments
=
[
innobackupex_incremental
,
innobackupex_full
,
full_backup
,
incremental_backup
])[
0
]
backup_controller
=
zc
.
buildout
.
easy_install
.
scripts
([
(
'innobackupex_controller'
,
__name__
+
'.innobackupex'
,
'controller'
)],
self
.
ws
,
sys
.
executable
,
self
.
bin_directory
,
arguments
=
[
innobackupex_incremental
,
innobackupex_full
,
full_backup
,
incremental_backup
])[
0
]
self
.
path_list
.
append
(
backup_controller
)
mysql_backup_cron
=
os
.
path
.
join
(
self
.
cron_d
,
'mysql_backup'
)
open
(
mysql_backup_cron
,
'w'
).
write
(
'0 0 * * * '
+
backup_controller
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment